Skip to content

Commit c8ba766

Browse files
WillAydpjleimbigler
authored andcommitted
DOC: Fix typo in docstring of DataFrame.memory_usage (#25770)
Co-authored-by: Peter Leimbigler <[email protected]>
1 parent db6993c commit c8ba766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2468,8 +2468,8 @@ def memory_usage(self, index=True, deep=False):
24682468
----------
24692469
index : bool, default True
24702470
Specifies whether to include the memory usage of the DataFrame's
2471-
index in returned Series. If ``index=True`` the memory usage of the
2472-
index the first item in the output.
2471+
index in returned Series. If ``index=True``, the memory usage of
2472+
the index is the first item in the output.
24732473
deep : bool, default False
24742474
If True, introspect the data deeply by interrogating
24752475
`object` dtypes for system-level memory consumption, and include

0 commit comments

Comments
 (0)