Closed fox895 closed 1 year ago
When importing a dataframe and specifying a timestamp column with `at=...', the column name is discarded and replaced with 'timestamp'.
df = pd.DataFrame({ 'temperature': [20.0, 21.0], 'humidity': [0.5, 0.6], 'time': pd.to_datetime(['2021-01-01', '2021-01-02'])}) with Sender('server', 9009) as sender: sender.dataframe(df, at='time')
I would expect that the column name is persisted in the final table.
This is a limitation of the underlying ILP protocol. Not a client bug.
Workaround: create the table in advance via SQL via the HTTP or PostgreSQL interface.
When importing a dataframe and specifying a timestamp column with `at=...', the column name is discarded and replaced with 'timestamp'.
I would expect that the column name is persisted in the final table.