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

Method empty

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

Source from the content-addressed store, hash-verified

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

Callers 3

set_partitions_preFunction · 0.45
_get_meta_ufuncFunction · 0.45

Calls 1

Tested by

no test coverage detected