Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
136
def
index_count(x):
137
# Workaround since Index doesn't implement `.count`
138
return
pd.notnull(x).sum()
139
140
141
def
mean_aggregate(s, n):
Callers
nothing calls this directly
Calls
2
notnull
Method · 0.80
sum
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…