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

Method _simplify_down

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

Source from the content-addressed store, hash-verified

1935 _preserves_partitioning_information = True
1936
1937 def _simplify_down(self):
1938 col_op = self.operand("columns")
1939 if is_scalar(col_op):
1940 col_op = [col_op]
1941 columns = [col for col in self.frame.columns if col not in col_op]
1942 return Projection(self.frame, columns)
1943
1944
1945def assign(df, *pairs):

Callers

nothing calls this directly

Calls 3

is_scalarFunction · 0.90
ProjectionClass · 0.85
operandMethod · 0.80

Tested by

no test coverage detected