Coming soon: We’re working on a brand new, revamped Community experience. Want to receive updates? Sign up now!

0 votes
Is there an easy way to avoid that python recipes change the data types from all integers to floats?
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

by
1,339 questions
1,365 answers
1,557 comments
11,916 users

©Dataiku 2012-2018 - Privacy Policy