Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ pivot_agg_first
Function
pivot_agg_first
dask/dataframe/methods.py:437–438 ·
view source on GitHub ↗
(df)
Source
from the content-addressed store, hash-verified
435
436
437
def
pivot_agg_first(df):
438
return
df.groupby(level=0, observed=False).first()
439
440
441
def
pivot_agg_last(df):
Callers
nothing calls this directly
Calls
2
first
Method · 0.45
groupby
Method · 0.45
Tested by
no test coverage detected