-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Enforce Numpy Docstring Validation for pandas.Grouper #58273
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: Enforce Numpy Docstring Validation for pandas.Grouper #58273
Conversation
/preview |
Website preview of this PR available at: https://pandas.pydata.org/preview/pandas-dev/pandas/58273/ |
pandas/core/groupby/grouper.py
Outdated
See Also | ||
---------- |
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.
See Also | |
---------- | |
See Also | |
-------- |
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 see. The number of - should be equal to the number of characters in the text including whitespace. Fixed it.
pandas/core/groupby/grouper.py
Outdated
GroupBy : For grouping and aggregating relational data. | ||
GroupByPlot : Class implementing the .plot attribute for groupby objects. |
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.
GroupBy : For grouping and aggregating relational data. | |
GroupByPlot : Class implementing the .plot attribute for groupby objects. | |
Series.groupby : Apply a function groupby to a Series. | |
DataFrame.groupby : Apply a function groupby. |
@@ -153,7 +153,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then | |||
-i "pandas.DatetimeTZDtype SA01" \ | |||
-i "pandas.DatetimeTZDtype.tz SA01" \ | |||
-i "pandas.DatetimeTZDtype.unit SA01" \ | |||
-i "pandas.Grouper PR02,SA01" \ | |||
-i "pandas.Grouper PR02" \ |
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 have kept the PR02 else the CI fails.
Thanks @tuhinsharma121 |
…v#58273) * fixed PR02,SA01 in docstring for pandas.Grouper * removed method pandas.Grouper * restored parameters for Grouper with an extra indentation * restored parameters and fixed See Also section * removed SA01 for pandas.Grouper
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.