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

Method _comparison_op

dask/dataframe/dask_expr/_collection.py:4246–4250  ·  view source on GitHub ↗
(self, expr_cls, other, level, fill_value, axis)

Source from the content-addressed store, hash-verified

4244 return new_collection(expr.ToFrame(self, name=name))
4245
4246 def _comparison_op(self, expr_cls, other, level, fill_value, axis):
4247 if level is not None:
4248 raise NotImplementedError("level must be None")
4249 self._validate_axis(axis)
4250 return new_collection(expr_cls(self, other, fill_value=fill_value))
4251
4252 def lt(self, other, level=None, fill_value=None, axis=0):
4253 return self._comparison_op(expr.LTSeries, other, level, fill_value, axis)

Callers 6

ltMethod · 0.95
leMethod · 0.95
gtMethod · 0.95
geMethod · 0.95
neMethod · 0.95
eqMethod · 0.95

Calls 2

_validate_axisMethod · 0.95
new_collectionFunction · 0.90

Tested by

no test coverage detected