DataFrame.memory_usage(index=True, deep=False)
[source]
Memory usage of DataFrame columns.
Parameters: |
index : bool Specifies whether to include memory usage of DataFrame’s index in returned Series. If deep : bool Introspect the data deeply, interrogate |
---|---|
Returns: |
sizes : Series A series with column names as index and memory usage of columns with units of bytes. |
See also
Memory usage does not include memory consumed by elements that are not components of the array if deep=False
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.19.2/generated/pandas.DataFrame.memory_usage.html