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

Function pivot_first

dask/dataframe/methods.py:465–474  ·  view source on GitHub ↗
(df, index, columns, values)

Source from the content-addressed store, hash-verified

463
464
465def pivot_first(df, index, columns, values):
466 return pd.pivot_table(
467 df,
468 index=index,
469 columns=columns,
470 values=values,
471 aggfunc="first",
472 dropna=False,
473 observed=False,
474 )
475
476
477def pivot_last(df, index, columns, values):

Callers

nothing calls this directly

Calls 1

pivot_tableMethod · 0.80

Tested by

no test coverage detected