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

Function index_count

dask/dataframe/methods.py:135–137  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

133
134
135def index_count(x):
136 # Workaround since Index doesn't implement `.count`
137 return pd.notnull(x).sum()
138
139
140def mean_aggregate(s, n):

Callers

nothing calls this directly

Calls 2

notnullMethod · 0.80
sumMethod · 0.45

Tested by

no test coverage detected