collections/pivot_unpivot_utils library

Pivot and unpivot for tabular data (list of maps) — roadmap #469.

Functions

pivot(List<Map<String, Object?>> rows, String rowKey, String colKey, String valueKey) List<Map<String, Object?>>
Pivot: one row per rowKey value, one column per colKey value, valueKey as cell.