(df, index, columns, values)
| 469 | |
| 470 | |
| 471 | def 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 | |
| 483 | def pivot_last(df, index, columns, values): |
nothing calls this directly
no test coverage detected