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

Method empty

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

Source from the content-addressed store, hash-verified

2742
2743 @property
2744 def empty(self):
2745 # __getattr__ will be called after we raise this, so we'll raise it again from there
2746 raise AttributeNotImplementedError(
2747 "Checking whether a Dask DataFrame has any rows may be expensive. "
2748 "However, checking the number of columns is fast. "
2749 "Depending on which of these results you need, use either "
2750 "`len(df.index) == 0` or `len(df.columns) == 0`"
2751 )
2752
2753 @derived_from(pd.DataFrame)
2754 def items(self):

Callers 3

set_partitions_preFunction · 0.45
_get_meta_ufuncFunction · 0.45

Calls 1

Tested by

no test coverage detected