Skip to content

Commit a1ca42e

Browse files
aliasgar55alia5gar
andauthored
restructured drop method return value defination (#54348)
* doc: restructured return defination of df.drop() method * removed trailing whitespace, added at the end --------- Co-authored-by: Ali Asgar <ali.chalniwala@bluealtair.com>
1 parent ab85df4 commit a1ca42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 2 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
5213+
index or column labels removed or None if inplace=True.
52145214
52155215
Raises
52165216
------

0 commit comments

Comments
 (0)