(df, index, columns, values)
| 443 | |
| 444 | |
| 445 | def 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 | |
| 457 | def pivot_count(df, index, columns, values): |
nothing calls this directly
no test coverage detected