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

Method operation

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

Source from the content-addressed store, hash-verified

1312
1313 @staticmethod
1314 def operation(*args, **kwargs):
1315 if is_series_like(args[0]):
1316 return args[0]._constructor([total_mem_usage(*args, **kwargs)])
1317 return args[0]._constructor_sliced([total_mem_usage(*args, **kwargs)])
1318
1319 def _divisions(self):
1320 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