8000 Various docstring fixes by ChiefMilesEdgeworth · Pull Request #28744 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Various docstring fixes #28744

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

Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a3e4315
DOC: Fixed PR02 docstring error in pandas Series idxmin and idxmax
ChiefMilesEdgeworth Oct 1, 2019
d1f1ba0
DOC: Fixed other PR02 docstring errors in pandas Series class
ChiefMilesEdgeworth Oct 1, 2019
7fc0e35
DOC: Fixed other PR02 docstring errors in pandas rolling and ewm files
ChiefMilesEdgeworth Oct 2, 2019
cd15cec
DOC: Fixed other PR02 docstring errors in pandas plotting file
ChiefMilesEdgeworth Oct 2, 2019
51bdc5d
DOC: Fixed other PR02 docstring errors in pandas frame.py file
ChiefMilesEdgeworth Oct 2, 2019
ffe849f
Ran Black
ChiefMilesEdgeworth Oct 2, 2019
f3b9540
Flake8 Changes
ChiefMilesEdgeworth Oct 2, 2019
d5c0394
Merge branch 'master' into Various_docstring_fixes
ChiefMilesEdgeworth Oct 2, 2019
bedf748
Test fixes
ChiefMilesEdgeworth Oct 2, 2019
4d7a386
DOC: Test fixes part 2
ChiefMilesEdgeworth Oct 2, 2019
2658caf
Merge branch 'master' into Various_docstring_fixes
ChiefMilesEdgeworth Oct 2, 2019
532b53c
DOC: Update args and kwargs to same line, other small changes
ChiefMilesEdgeworth Oct 3, 2019
2f48f5a
Merge remote-tracking branch 'origin/Various_docstring_fixes' into Va…
ChiefMilesEdgeworth Oct 3, 2019
2df56a2
DOC: Missed whitespace
ChiefMilesEdgeworth Oct 3, 2019
ded2c0c
DOC: Fixing overlooked issues
ChiefMilesEdgeworth Oct 4, 2019
5263577
Merge pull request #1 from pandas-dev/master
ChiefMilesEdgeworth Oct 7, 2019
3b6f88c
Merge remote-tracking branch 'origin/master'
ChiefMilesEdgeworth Oct 8, 2019
894f7d1
Merge remote-tracking branch 'upstream/master'
ChiefMilesEdgeworth Oct 10, 2019
d687909
Merge remote-tracking branch 'upstream/master'
ChiefMilesEdgeworth Oct 11, 2019
ec3b412
Merge branch 'master' into Various_docstring_fixes
ChiefMilesEdgeworth Oct 11, 2019
494b997
DOC: Revert back to multiple parameters on one line
ChiefMilesEdgeworth Oct 15, 2019
2c723a7
Merge remote-tracking branch 'upstream/master' into Various_docstring…
ChiefMilesEdgeworth Oct 15, 2019
0507336
Merge remote-tracking branch 'upstream/master' into Various_docstring…
ChiefMilesEdgeworth Oct 15, 2019
f631cb4
DOC: Spacing fixed
ChiefMilesEdgeworth Oct 16, 2019
16fd88a
DOC: Fixed typos
ChiefMilesEdgeworth Oct 16, 2019
a5cbc8c
Update pandas/core/frame.py
ChiefMilesEdgeworth Nov 8, 2019
2a105c2
Update pandas/core/window/ewm.py
ChiefMilesEdgeworth Nov 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: Fixed other PR02 docstring errors in pandas Series class
Fixed errors on swaplevel, rename, and drop methods
  • Loading branch information
ChiefMilesEdgeworth committed Oct 1, 2019
commit d1f1ba03c964f237e269fbda421d28469a4c27a6
25 changes: 14 additions & 11 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3534,8 +3534,10 @@ def swaplevel(self, i=-2, j=-1, copy=True):

Parameters
----------
i, j : int, str (can be mixed)
Level of index to be swapped. Can pass level name as string.
i : int, str
Level of first index to be swapped. Can pass level name as string.
j : int, str
Level of second index to be swapped. Can pass level name as string.
copy : bool, default True
Whether to copy underlying data.

Expand Down Expand Up @@ -4089,14 +4091,1 8000 1 @@ def rename(self, index=None, **kwargs):
the index.
Scalar or hashable sequence-like will alter the ``Series.name``
attribute.
copy : bool, default True
Whether to copy underlying data.
inplace : bool, default False
Whether to return a new Series. If True then value of copy is
ignored.
level : int or level name, default None
In case of a MultiIndex, only rename labels in the specified
level.

**kwargs
Additional keyword arguments passed to the function. Only the
"inplace" keyword is used.


Returns
-------
Expand Down Expand Up @@ -4166,10 +4165,14 @@ def drop(
Index labels to drop.
axis : 0, default 0
Redundant for application on Series.
index, columns : None
index : None
Redundant for application on Series, but index can be used instead
of labels.

.. versionadded:: 0.21.0
columns : None
Redundant for application on Series.

.. versionadded:: 0.21.0
level : int or level name, optional
For MultiIndex, level for which the labels will be removed.
Expand Down
0