Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

Python recipes / plugins changing integers to floats

Wuser92
Level 3
Python recipes / plugins changing integers to floats
Is there an easy way to avoid that python recipes change the data types from all integers to floats?
0 Kudos
1 Reply
Alex_Combessie
Dataiker Alumni

Hello,



For controlling the column types in pandas dataframes, you can deactivate the "infer_with_pandas" option in the get_dataframe() method on the input dataset(s). You can find more information on this documentation:



https://doc.dataiku.com/dss/latest/api/python/datasets.html#dataiku.Dataset.get_dataframe



Cheers,



Alex

0 Kudos

Labels

?
Labels (3)
A banner prompting to get Dataiku