0 votes
Is there an easy way to avoid that python recipes change the data types from all integers to floats?
asked by

1 Answer

0 votes

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

answered by
861 questions
891 answers
848 comments
1,162 users