-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fix bug in quantile() for resample and groupby with Timedelta #37145
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
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.
lgtm, the just one change in the whatsnew that was discussed.
� Conflicts: � doc/source/whatsnew/v1.2.0.rst
Sorry, was waiting for some kind of feedback :) Changed the whatsnew |
doc/source/whatsnew/v1.2.0.rst
Outdated
@@ -495,6 +495,7 @@ Groupby/resample/rolling | |||
- Bug in :meth:`DataFrame.groupby.rolling` returning wrong values with partial centered window (:issue:`36040`). | |||
- Bug in :meth:`DataFrameGroupBy.rolling` returned wrong values with timeaware window containing ``NaN``. Raises ``ValueError`` because windows are not monotonic now (:issue:`34617`) | |||
- Bug in :meth:`Rolling.__iter__` where a ``ValueError`` was not raised when ``min_periods`` was larger than ``window`` (:issue:`37156`) | |||
- Bug in :meth:`df.groupby(..).quantile() <pandas.core.groupby.DataFrameGroupBy.quantile>` and :meth:`df.resample(..).quantile() <pandas.core.resample.Resampler.quantile>` raised ``TypeError`` when values to calculate quantile over where ``Timedelta`` (:issue:`29485`) |
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.
where -> were. Also, I think it's okay to just say e.g. "when values were of type Timedelta
"
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.
Done
� Conflicts: � doc/source/whatsnew/v1.2.0.rst
Windows py38_np18 failed to start, Windows py37_np16 failed on |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Same result. @phofl Can you merge master? |
Done |
Failure seems unrelated |
thanks @phofl |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff