records
records copied to clipboard
datetimes lost in conversion
I'm not yet sure if the issue is with records or tablib.
- Generate some rows from a query:
records.Database().query() - Export to a Pandas DataFrame:
rows.export('df') - Resulting timestamps are seen as
objectsin Pandas.
However, if you instead generate the dataframe directly from the dict, it works:
pandas_table = pd.DataFrame(rows.as_dict())
Could you provide reproducible case with piece of code? Creating the table, query to run.