-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
PR04 errors fix #25157
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
PR04 errors fix #25157
Changes from 14 commits
0dc07f2
b93e438
ae369ec
3ac2383
7651a63
93654b9
ce46f24
e9fdd08
63aaaf0
0447294
aeed6ab
9308491
4bb3b0b
f95c4b5
619253c
8113c21
bffd111
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,14 +54,16 @@ class Grouper(object): | |
axis : number/name of the axis, defaults to 0 | ||
sort : boolean, default to False | ||
whether to sort the resulting labels | ||
|
||
additional kwargs to control time-like groupers (when `freq` is passed) | ||
|
||
closed : closed end of interval; 'left' or 'right' | ||
Only when `freq` parameter is passed. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry just one last pass at all of these where It looks like the description for these is where the type should go. Can you move the description down to the line below and add a type for this and the 3 other parameters sharing this description? Also would be nice to revert removal of previous line if it doesn't cause PR04 failures There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What do you mean by sharing the description? Should I group those kwargs somehow? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll fix it in few hours. Sorry, busy weekend. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have no idea how deal with line below (for all kwargs).
There is no description sharing functionality for Python docstrings. |
||
label : interval boundary to use for labeling; 'left' or 'right' | ||
Only when `freq` parameter is passed. | ||
convention : {'start', 'end', 'e', 's'} | ||
If grouper is PeriodIndex | ||
base, loffset | ||
If grouper is PeriodIndex and `freq` parameter is passed. | ||
base : int, default 0 | ||
Only when `freq` parameter is passed. | ||
loffset : string, DateOffset, timedelta object | ||
Only when `freq` parameter is passed. | ||
|
||
Returns | ||
------- | ||
|
Uh oh!
There was an error while loading. Please reload this page.