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

Method __bool__

dask/dataframe/dask_expr/_collection.py:488–492  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

486 )
487
488 def __bool__(self):
489 raise ValueError(
490 f"The truth value of a {self.__class__.__name__} is ambiguous. "
491 "Use a.any() or a.all()."
492 )
493
494 def __array__(self, dtype=None, **kwargs):
495 return np.array(self.compute())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected