(df, index, columns, values)
| 463 | |
| 464 | |
| 465 | def pivot_first(df, index, columns, values): |
| 466 | return pd.pivot_table( |
| 467 | df, |
| 468 | index=index, |
| 469 | columns=columns, |
| 470 | values=values, |
| 471 | aggfunc="first", |
| 472 | dropna=False, |
| 473 | observed=False, |
| 474 | ) |
| 475 | |
| 476 | |
| 477 | def pivot_last(df, index, columns, values): |
nothing calls this directly
no test coverage detected