This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
timestamp rounding error dataframe client #885
Open
Description
As continuation of #811
The solution for the rounding error seems not to be merged.
This gives particular problems when merging data from different sources to a database : timestamps must be CORRECT! This is an essential point in a timeseries database. (my thoughts...)
python 3 makes floats if you divide with '/' --> please change to '//'
Example : line 375 fro _dataframe_client.py
time = ((dataframe.index.to_timestamp().values.astype(np.int64) /
precision_factor).astype(np.int64).astype(str))
to
time = ((dataframe.index.to_timestamp().values.astype(np.int64) //
precision_factor).astype(np.int64).astype(str))
Metadata
Metadata
Assignees
Labels
No labels