MCPcopy
hub / github.com/dask/dask / index_count

Function index_count

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

notnullMethod · 0.80
sumMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…