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

Method __bool__

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

Source from the content-addressed store, hash-verified

166 return Projection(self, other) # df[["a", "b", "c"]]
167
168 def __bool__(self):
169 raise ValueError(
170 f"The truth value of a {self.__class__.__name__} is ambiguous. "
171 "Use a.any() or a.all()."
172 )
173
174 def __add__(self, other):
175 return Add(self, other)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected