-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC fix truncated documentation for Series.unstack(), Series. #31260
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
Changes from 1 commit
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 |
---|---|---|
|
@@ -3389,7 +3389,7 @@ def explode(self) -> "Series": | |
See Also | ||
-------- | ||
Series.str.split : Split string values on specified separator. | ||
Series.unstack : Unstack, a.k.a. pivot, Series with MultiIndex | ||
Series.unstack : Unstack, a.k.a pivot, Series with MultiIndex | ||
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. also not needed here |
||
to produce DataFrame. | ||
DataFrame.melt : Unpivot a DataFrame from wide format to long format. | ||
DataFrame.explode : Explode a DataFrame from list-like | ||
|
@@ -3432,7 +3432,7 @@ def explode(self) -> "Series": | |
|
||
def unstack(self, level=-1, fill_value=None): | ||
""" | ||
Unstack, a.k.a. pivot, Series with MultiIndex to produce DataFrame. | ||
Unstack, a.k.a pivot, Series with MultiIndex to produce DataFrame. | ||
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. Maybe just reword this to use "or" instead of "a.k.a.", or wite it in full? "also known as" 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. Alright! Will do that |
||
The level involved will automatically get sorted. | ||
|
||
Parameters | ||
|
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.
You don't need to change this in the user guide. The issue only comes up in the first line of docstrings