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

Method _delegate_method

dask/dataframe/dask_expr/_accessor.py:55–57  ·  view source on GitHub ↗
(obj, accessor, attr, args, kwargs)

Source from the content-addressed store, hash-verified

53
54 @staticmethod
55 def _delegate_method(obj, accessor, attr, args, kwargs):
56 out = getattr(getattr(obj, accessor, obj), attr)(*args, **kwargs)
57 return maybe_wrap_pandas(obj, out)
58
59 def _function_map(self, attr, *args, **kwargs):
60 from dask.dataframe.dask_expr._collection import Index, new_collection

Callers

nothing calls this directly

Calls 1

maybe_wrap_pandasFunction · 0.90

Tested by

no test coverage detected