You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reading from NoCode to pandas DF only returns one datatype object #4
At the moment when we use read_nocode() and assign it to a variable all types are only object, ideally, we would pass the dtypes from nocode to the pandas DataFrame.
I'm using a bit of "trick" here to achieve this but this needs to be improved. After loading the table from nocode, we load in again with the csv parser from Pandas.
# To-do: infer type from nocode
table_data.to_csv(csv_buffer, index=None)
csv_buffer.seek(0)
table_data_type_inferred = pd.read_csv(csv_buffer)
``
Activity
datitran commentedon Sep 24, 2022
I'm using a bit of "trick" here to achieve this but this needs to be improved. After loading the table from nocode, we load in again with the csv parser from Pandas.