Survey banner
Switching to Dataiku - a new area to help users who are transitioning from other tools and diving into Dataiku! CHECK IT OUT

Unexpected behaviour Python recipe

Level 1
Unexpected behaviour Python recipe
Weird Python behavior:
When running a large script and printing the values just before assigning the dataframe to one of the output files i ran into this weird behavior that's returning a completely unexpected output. Here is the code i'm running, the printed output of transaction_type column and then the actual dataset that is missing the value.
  1. Code for output_df that is used as input for the leading_forecast dataiku output dataset
MicrosoftTeams-image (4).png


MicrosoftTeams-image (5).png

 2. Print statement of the output_df, as you can see it contains V and C
MicrosoftTeams-image (6).png
3. Output dataframe in Dataiku:
MicrosoftTeams-image (3).png
As you can see it only contains C, and i would expect here to see atleast the V from the printstatement and a B from elsewhere in the code. How can this dataset be different from the print statement as it is literally taken from there...
Can someone please inform me why this is happening
Operating system used: Windows 10
0 Kudos
1 Reply

Hi @SanderdeQueleri 

As mentioned on support as well this can be due to the pandas version used.  Since DSS 9.0.3 only supports up to pandas 1.0. 

Support for support for Pandas 1.1, Pandas 1.2 and Pandas 1.3 was added in 




0 Kudos