Skip to content

Commit 724a4e7

Browse files
committed
fixing doc-test: the old value was slightly off, due to fixed sizeof-function
1 parent 6a941e5 commit 724a4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ def memory_usage(self, index=True, deep=False) -> Series:
27242724
many repeated values.
27252725
27262726
>>> df['object'].astype('category').memory_usage(deep=True)
2727-
5216
2727+
5244
27282728
"""
27292729
result = self._constructor_sliced(
27302730
[c.memory_usage(index=False, deep=deep) for col, c in self.items()],

0 commit comments

Comments
 (0)