MCPcopy Create free account
hub / github.com/dask/dask / memory_usage_per_partition

Method memory_usage_per_partition

dask/dataframe/dask_expr/_collection.py:2309–2328  ·  view source on GitHub ↗

Return the memory usage of each partition Parameters ---------- index : bool, default True Specifies whether to include the memory usage of the index in returned Series. deep : bool, default False If True, introspect the data deepl

(self, index: bool = True, deep: bool = False)

Source from the content-addressed store, hash-verified

2307 )
2308
2309 def memory_usage_per_partition(self, index: bool = True, deep: bool = False):
2310 """Return the memory usage of each partition
2311
2312 Parameters
2313 ----------
2314 index : bool, default True
2315 Specifies whether to include the memory usage of the index in
2316 returned Series.
2317 deep : bool, default False
2318 If True, introspect the data deeply by interrogating
2319 ``object`` dtypes for system-level memory consumption, and include
2320 it in the returned values.
2321
2322 Returns
2323 -------
2324 Series
2325 A Series whose index is the partition number and whose values
2326 are the memory usage of each partition in bytes.
2327 """
2328 return new_collection(self.expr.memory_usage_per_partition(index, deep))
2329
2330 @property
2331 def loc(self):

Callers

nothing calls this directly

Calls 1

new_collectionFunction · 0.90

Tested by

no test coverage detected