-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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 8 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 |
---|---|---|
|
@@ -55,18 +55,23 @@ class Grouper(object): | |
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' | ||
label : interval boundary to use for labeling; 'left' or 'right' | ||
convention : {'start', 'end', 'e', 's'} | ||
If grouper is PeriodIndex | ||
base, loffset | ||
base : int, default 0 | ||
loffset : string, DateOffset, timedelta object | ||
|
||
Returns | ||
------- | ||
A specification for a groupby instruction | ||
|
||
Note | ||
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 does this have to do with the PR04 error? Changes should really be limited to one thing at a time 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. Line
was treated as parameter, so I had to move it somewhere else. 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. Kwargs is a parameter so it belongs there 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. Get rid of this section and just document kwargs as a parameter like everywhere else |
||
------- | ||
Kwargs to control time-like groupers: | ||
closed, label, convetion, base and loffset | ||
are taken into account when `freq` parameter is passed | ||
|
||
Examples | ||
-------- | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.