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

Method empty

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

Source from the content-addressed store, hash-verified

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

Callers 3

set_partitions_preFunction · 0.45
_get_meta_ufuncFunction · 0.45

Calls 1

Tested by

no test coverage detected