-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
DOC: Fixing EX01 - Added examples #53930
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.
nice - couple of minor comments
pandas/core/groupby/groupby.py
Outdated
... '2023-02-01', | ||
... '2023-02-10', | ||
... '2023-02-15'])) | ||
>>> print(ser.resample('MS').ohlc()) |
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.
I think we don't need the print statement? can be fixed up as part of a future PR anyway
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.
Thanks. (It looked weird in Jupyter without it)
pandas/core/resample.py
Outdated
|
||
Parameters | ||
---------- | ||
numeric_only : bool, default no |
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.
default False?
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.
Thanks
pandas/core/resample.py
Outdated
|
||
Parameters | ||
---------- | ||
numeric_only : bool, default no |
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.
likewise
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.
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.
nice one, thanks @DeaMariaLeon
* Examples Resampler.ohlc, prod, size, sem, std, sum, var * Updated code_checks.sh * Corrected sum docstring * corrected default no, removed print --------- Co-authored-by: Matthew Roeschke <[email protected]>
Towards #37875