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

Method _broadcastable

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

Source from the content-addressed store, hash-verified

2742
2743 @functools.cached_property
2744 def _broadcastable(self):
2745 deps = self.dependencies()
2746 return (
2747 1 in {dep.npartitions for dep in deps}
2748 and len({dep.ndim for dep in deps}) == 2
2749 )
2750
2751 def __str__(self):
2752 return f"{self.left} {self._operator_repr} {self.right}"

Callers

nothing calls this directly

Calls 1

dependenciesMethod · 0.45

Tested by

no test coverage detected