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

Function pivot_sum

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

Source from the content-addressed store, hash-verified

437
438
439def pivot_sum(df, index, columns, values):
440 return pd.pivot_table(
441 df,
442 index=index,
443 columns=columns,
444 values=values,
445 aggfunc="sum",
446 dropna=False,
447 observed=False,
448 )
449
450
451def pivot_count(df, index, columns, values):

Callers

nothing calls this directly

Calls 1

pivot_tableMethod · 0.80

Tested by

no test coverage detected