-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
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
Timestamp .round precision for ns #15578
Labels
Milestone
Comments
jreback
added
Error Reporting
Incorrect or improved errors from pandas
Datetime
Datetime data dtype
labels
Mar 5, 2017
4 tasks
so actually this is 'easy'; I think for values of round < 1us (e.g. ns values), you can simply do something like this. simulating
IOW, we avoid the float precision problem by only working with the last 6 digits, then adding back the original portion. cc @mroeschke |
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Mar 6, 2017
3 tasks
mroeschke
added a commit
to mroeschke/pandas
that referenced
this issue
Mar 7, 2017
Raise warning for invalid frequencies
AnkurDedania
pushed a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
closes pandas-dev#15578 Author: Matt Roeschke <emailformattr@gmail.com> Closes pandas-dev#15588 from mroeschke/fix_15578 and squashes the following commits: af95baa [Matt Roeschke] BUG: Timestamp.round precision error for ns (pandas-dev#15578)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
xref https://github.com/pandas-dev/pandas/pull/15568/files#r104304074
This is the unfortunate problem of converting from int64->float64->int64. I am not sure there is an easy way to fix this. We could:
The text was updated successfully, but these errors were encountered: