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

Method _comparison_op

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

Source from the content-addressed store, hash-verified

4225 return new_collection(expr.ToFrame(self, name=name))
4226
4227 def _comparison_op(self, expr_cls, other, level, fill_value, axis):
4228 if level is not None:
4229 raise NotImplementedError("level must be None")
4230 self._validate_axis(axis)
4231 return new_collection(expr_cls(self, other, fill_value=fill_value))
4232
4233 def lt(self, other, level=None, fill_value=None, axis=0):
4234 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