W3cubDocs

/pandas 0.25

pandas.Index.memory_usage

Index.memory_usage(self, deep=False) [source]

Memory usage of the values

Parameters:
deep : bool

Introspect the data deeply, interrogate object dtypes for system-level memory consumption

Returns:
bytes used

Notes

Memory usage does not include memory consumed by elements that are not components of the array if deep=False or if used on PyPy

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Index.memory_usage.html