A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/reference/api/pandas.Index.memory_usage.html below:

pandas.Index.memory_usage — pandas 2.3.1 documentation

pandas.Index.memory_usage#
Index.memory_usage(deep=False)[source]#

Memory usage of the values.

Parameters:
deepbool, default False

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

Returns:
bytes used

See also

numpy.ndarray.nbytes

Total bytes consumed by the elements of the array.

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

Examples

>>> idx = pd.Index([1, 2, 3])
>>> idx.memory_usage()
24

On this page

Show Source

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4