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

Class PropertyMap

dask/dataframe/dask_expr/_accessor.py:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82class PropertyMap(Elemwise):
83 _parameters = [
84 "frame",
85 "accessor",
86 "attr",
87 ]
88
89 @staticmethod
90 def operation(obj, accessor, attr):
91 out = getattr(getattr(obj, accessor, obj), attr)
92 return maybe_wrap_pandas(obj, out)
93
94
95class PropertyMapIndex(PropertyMap):

Callers 3

as_knownMethod · 0.90
codesMethod · 0.90
_property_mapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected