Skip to content

Commit a03b5a7

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5209,9 +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``.
5214-
5212+
Returns DataFrame or None DataFrame with the specified index or
5213+
column labels removed or None if inplace=True
52155214
Raises
52165215
------
52175216
KeyError

0 commit comments

Comments
 (0)