Python recipes / plugins changing integers to floats
Wuser92
Registered Posts: 20 ✭✭✭✭
Is there an easy way to avoid that python recipes change the data types from all integers to floats?
Tagged:
Answers
-
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