Skip to content

Commit 8126025

Browse files
committed
restructured drop method return value defination
1 parent 8067a01 commit 8126025

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/core/frame.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5209,8 +5209,8 @@ def drop(
52095209
Returns
52105210
-------
52115211
DataFrame or None
5212-
DataFrame without the removed index or column labels or
5213-
None if ``inplace=True``.
5212+
Returns DataFrame or None DataFrame with the specified index or
5213+
column labels removed or None if inplace=True
52145214
52155215
Raises
52165216
------
@@ -11294,7 +11294,7 @@ def cumsum(self, axis: Axis | None = None, skipna: bool = True, *args, **kwargs)
1129411294
def cumprod(self, axis: Axis | None = None, skipna: bool = True, *args, **kwargs):
1129511295
return NDFrame.cumprod(self, axis, skipna, *args, **kwargs)
1129611296

11297-
def nunique(self, axis: Axis = 0, dropna: bool = True) -> Series:
11297+
def nunique(self, axis: Axis = 0, dropna: bool = True) -> Series:fram
1129811298
"""
1129911299
Count number of distinct elements in specified axis.
1130011300

0 commit comments

Comments
 (0)