-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
Timedeltas: Understand µs #32899
Timedeltas: Understand µs #32899
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls add a test & a what’s new note (other enhancements)
is this fixing a specific issue?
dff9e72
to
5d04b19
Compare
Done
Yes, this is fixing the "Pandas can not parse golang duration strings if they contain microseconds" issue. |
what i mean is do we already have an open issue for what this is fixing? |
No, want me to open one and add a closes directive to the PR? |
@jreback The |
no don’t open an issue |
@alvaroaleman Can you please rebase? the CI is failing due to an issue we recently resolved, merging master should solve this. |
@MomIsBestFriend done, all checks are green now :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments, ping on green.
doc/source/whatsnew/v1.1.0.rst
Outdated
@@ -407,6 +407,7 @@ Other | |||
- Fixed bug in :func:`pandas.testing.assert_series_equal` where dtypes were checked for ``Interval`` and ``ExtensionArray`` operands when ``check_dtype`` was ``False`` (:issue:`32747`) | |||
- Bug in :meth:`Series.map` not raising on invalid ``na_action`` (:issue:`32815`) | |||
- Bug in :meth:`DataFrame.__dir__` caused a segfault when using unicode surrogates in a column name (:issue:`25509`) | |||
- Timedeltas now understand µs as identifier for microsecond (:issue:`32899`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move tot he timedelta section in bug fixes (i know i said this section before, but we are trying to limit what is here), put us
in double-backticks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jreback Done and all checks are green again
thanks @alvaroaleman |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
These are emitted by golangs
time.Duration
printing: https://github.com/golang/go/blob/36b815edd6cd23d5aabdb488c24db2033bbdeea2/src/time/time.go#L669