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

Class MethodOperator

dask/dataframe/dask_expr/_expr.py:2814–2825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2812
2813
2814class MethodOperator(Binop):
2815 _parameters = ["name", "left", "right", "axis", "level", "fill_value"]
2816 _defaults = {"axis": "columns", "level": None, "fill_value": None}
2817 _keyword_only = ["axis", "level", "fill_value"]
2818
2819 @property
2820 def _operator_repr(self):
2821 return self.name
2822
2823 @staticmethod
2824 def operation(name, left, right, **kwargs):
2825 return getattr(left, name)(right, **kwargs)
2826
2827
2828class Sub(Binop):

Callers 1

_opMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected