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

Method _check_for_previously_created_column

dask/dataframe/dask_expr/_expr.py:2025–2030  ·  view source on GitHub ↗
(self, child)

Source from the content-addressed store, hash-verified

2023 )
2024
2025 def _check_for_previously_created_column(self, child):
2026 input_columns = []
2027 for v in self.vals:
2028 if isinstance(v, Expr):
2029 input_columns.extend(v.columns)
2030 return bool(set(input_columns) & set(child.keys))
2031
2032 def _simplify_up(self, parent, dependents):
2033 if isinstance(parent, Projection):

Callers 1

_simplify_downMethod · 0.95

Calls 1

setClass · 0.85

Tested by

no test coverage detected