Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Is there a way to use an equivalent of dtype (from pd.read_table()) inside dataiku.Dataset() or dataiku.Dataset.get_dataframe() ?
my_file = pd.read_table("input_file"
, dtype={
'field1':str,
,'field2':str})
I'm trying, but both of these output an unexpected keyword argument error :
mydataset = dataiku.Dataset("input_file"
, dtype={
'field1':str,
,'field2':str})
my_file = mydataset.get_dataframe()
mydataset = dataiku.Dataset("input_file")
my_file = mydataset.get_dataframe(dtype={
'field1':str,
,'field2':str})
Thanks