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

Method empty

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

Source from the content-addressed store, hash-verified

2706
2707 @property
2708 def empty(self):
2709 # __getattr__ will be called after we raise this, so we'll raise it again from there
2710 raise AttributeNotImplementedError(
2711 "Checking whether a Dask DataFrame has any rows may be expensive. "
2712 "However, checking the number of columns is fast. "
2713 "Depending on which of these results you need, use either "
2714 "`len(df.index) == 0` or `len(df.columns) == 0`"
2715 )
2716
2717 @derived_from(pd.DataFrame)
2718 def items(self):

Callers 3

set_partitions_preFunction · 0.45
_get_meta_ufuncFunction · 0.45

Calls 1

Tested by

no test coverage detected