pandas.Series.memory_usage

Series.memory_usage(index=True, deep=False)

Memory usage of the Series

Parameters:

index : bool

Specifies whether to include memory usage of Series index

deep : bool

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

Returns:

scalar bytes of memory consumed

Notes

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

© 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.18.1/generated/pandas.Series.memory_usage.html