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

Method _simplify_down

dask/dataframe/dask_expr/_expr.py:2837–2843  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2835 _operator_repr = "*"
2836
2837 def _simplify_down(self):
2838 if (
2839 isinstance(self.right, Mul)
2840 and isinstance(self.left, numbers.Number)
2841 and isinstance(self.right.left, numbers.Number)
2842 ):
2843 return (self.left * self.right.left) * self.right.right
2844
2845
2846class Pow(Binop):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected