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

Method count

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

Source from the content-addressed store, hash-verified

1934
1935 @derived_from(pd.DataFrame)
1936 def count(self, axis=0, numeric_only=False, split_every=False):
1937 axis = self._validate_axis(axis)
1938 if axis == 1:
1939 return self.map_partitions(M.count, numeric_only=numeric_only, axis=axis)
1940 return new_collection(self.expr.count(numeric_only, split_every))
1941
1942 @derived_from(pd.DataFrame)
1943 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