MCPcopy
hub / github.com/dask/dask / _function_map

Method _function_map

dask/dataframe/dask_expr/_accessor.py:59–69  ·  view source on GitHub ↗
(self, attr, *args, **kwargs)

Source from the content-addressed store, hash-verified

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
61
62 if isinstance(self._series, Index):
63 return new_collection(
64 FunctionMapIndex(self._series, self._accessor_name, attr, args, kwargs)
65 )
66
67 return new_collection(
68 FunctionMap(self._series, self._accessor_name, attr, args, kwargs)
69 )
70
71 def _property_map(self, attr, *args, **kwargs):
72 from dask.dataframe.dask_expr._collection import Index, new_collection

Callers 3

funcFunction · 0.80
_splitMethod · 0.80
__getitem__Method · 0.80

Calls 3

new_collectionFunction · 0.90
FunctionMapIndexClass · 0.85
FunctionMapClass · 0.85

Tested by

no test coverage detected