dask_expr._collection.DataFrame.memory_usage_per_partition
dask_expr._collection.DataFrame.memory_usage_per_partition¶
- DataFrame.memory_usage_per_partition(index: bool = True, deep: bool = False)¶
Return the memory usage of each partition
- Parameters
- indexbool, default True
Specifies whether to include the memory usage of the index in returned Series.
- deepbool, default False
If True, introspect the data deeply by interrogating
object
dtypes for system-level memory consumption, and include it in the returned values.
- Returns
- Series
A Series whose index is the partition number and whose values are the memory usage of each partition in bytes.