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

Function pivot_sum

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

Source from the content-addressed store, hash-verified

443
444
445def pivot_sum(df, index, columns, values):
446 return pd.pivot_table(
447 df,
448 index=index,
449 columns=columns,
450 values=values,
451 aggfunc="sum",
452 dropna=False,
453 observed=False,
454 )
455
456
457def pivot_count(df, index, columns, values):

Callers

nothing calls this directly

Calls 1

pivot_tableMethod · 0.80

Tested by

no test coverage detected