You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Author: Jeff Reback <[email protected]>
Closes#15237 from jreback/memory and squashes the following commits:
d77c002 [Jeff Reback] PERF: correctly report memory used by Index's
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.20.0.txt
+37
Original file line number
Diff line number
Diff line change
@@ -315,6 +315,43 @@ New Behavior:
315
315
In [5]: df['a']['2011-12-31 23:59:59']
316
316
Out[5]: 1
317
317
318
+
.. _whatsnew_0200.api_breaking.memory_usage:
319
+
320
+
Memory Usage for Index is more Accurate
321
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
322
+
323
+
In previous versions, showing ``.memory_usage()`` on a pandas structure that has an index, would only include actual index values and not include structures that facilitated fast indexing. This will generally be different for ``Index`` and ``MultiIndex`` and less-so for other index types. (:issue:`15237`)
0 commit comments