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

Method operation

dask/dataframe/dask_expr/_expr.py:1318–1321  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1316
1317 @staticmethod
1318 def operation(*args, **kwargs):
1319 if is_series_like(args[0]):
1320 return args[0]._constructor([total_mem_usage(*args, **kwargs)])
1321 return args[0]._constructor_sliced([total_mem_usage(*args, **kwargs)])
1322
1323 def _divisions(self):
1324 return (None,) * (self.frame.npartitions + 1)

Callers

nothing calls this directly

Calls 3

total_mem_usageFunction · 0.90
is_series_likeFunction · 0.85
_constructorMethod · 0.80

Tested by

no test coverage detected