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

Function pivot_last

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

Source from the content-addressed store, hash-verified

475
476
477def pivot_last(df, index, columns, values):
478 return pd.pivot_table(
479 df,
480 index=index,
481 columns=columns,
482 values=values,
483 aggfunc="last",
484 dropna=False,
485 observed=False,
486 )
487
488
489def assign_index(df, ind):

Callers

nothing calls this directly

Calls 1

pivot_tableMethod · 0.80

Tested by

no test coverage detected