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

Method count

dask/dataframe/dask_expr/_collection.py:1896–1900  ·  view source on GitHub ↗
(self, axis=0, numeric_only=False, split_every=False)

Source from the content-addressed store, hash-verified

1894
1895 @derived_from(pd.DataFrame)
1896 def count(self, axis=0, numeric_only=False, split_every=False):
1897 axis = self._validate_axis(axis)
1898 if axis == 1:
1899 return self.map_partitions(M.count, numeric_only=numeric_only, axis=axis)
1900 return new_collection(self.expr.count(numeric_only, split_every))
1901
1902 @derived_from(pd.DataFrame)
1903 def abs(self):

Callers

nothing calls this directly

Calls 4

map_partitionsMethod · 0.95
new_collectionFunction · 0.90
_validate_axisMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected