MCPcopy 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
437def pivot_agg_first(df):
438 return df.groupby(level=0, observed=False).first()
439
440
441def pivot_agg_last(df):

Callers

nothing calls this directly

Calls 2

firstMethod · 0.45
groupbyMethod · 0.45

Tested by

no test coverage detected