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

Method projected_operation

dask/dataframe/dask_expr/_expr.py:766–769  ·  view source on GitHub ↗
(mapped_func, post_projection, *args, **kwargs)

Source from the content-addressed store, hash-verified

764
765 @staticmethod
766 def projected_operation(mapped_func, post_projection, *args, **kwargs):
767 # Apply a mapped function and then project columns.
768 # Used by `_simplify_up` to apply column projection.
769 return mapped_func(*args, **kwargs)[post_projection]
770
771 def _simplify_up(self, parent, dependents):
772 if isinstance(parent, Projection) and self.required_columns is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected