We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See: influxdata/influxdb-python#829 (comment)
I believe this library suffers the same problem.
influxdb-client-python/influxdb_client/client/date_utils.py
Line 10 in 8c167e9
The text was updated successfully, but these errors were encountered:
As you mentioned the datetime has a precision to microseconds and also almost all time libraries are without supports of nanoseconds: pendelum udatetime isodate arrow We will have to use something like pandas timestamp: >>> import pandas as pd >>> pd.to_datetime('1996-02-25T21:20:00.001001231Z', unit='ns') Timestamp('1996-02-25 21:20:00.001001231+0000', tz='UTC')
As you mentioned the datetime has a precision to microseconds and also almost all time libraries are without supports of nanoseconds:
datetime
We will have to use something like pandas timestamp:
>>> import pandas as pd >>> pd.to_datetime('1996-02-25T21:20:00.001001231Z', unit='ns') Timestamp('1996-02-25 21:20:00.001001231+0000', tz='UTC')
Sorry, something went wrong.
pandas.Timestamp
Hi @fcoetzee,
we preparing workaround by pandas.Timestamp.
For detail info see #141 or this example nanosecond_precision.py.
Regards
Successfully merging a pull request may close this issue.
See: influxdata/influxdb-python#829 (comment)
I believe this library suffers the same problem.
influxdb-client-python/influxdb_client/client/date_utils.py
Line 10 in 8c167e9
The text was updated successfully, but these errors were encountered: