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

Function pivot_first

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

Source from the content-addressed store, hash-verified

469
470
471def pivot_first(df, index, columns, values):
472 return pd.pivot_table(
473 df,
474 index=index,
475 columns=columns,
476 values=values,
477 aggfunc="first",
478 dropna=False,
479 observed=False,
480 )
481
482
483def pivot_last(df, index, columns, values):

Callers

nothing calls this directly

Calls 1

pivot_tableMethod · 0.80

Tested by

no test coverage detected