spread# popo.risk.spread(outcomes, groups, columns)# Range of group means for each outcome: does the grouping separate risk? Parameters: outcomes (DataFrame) – One row per customer. groups (Sequence) – Group label of each row, e.g. a load-shape archetype. columns (Sequence[str]) – Outcome columns, e.g. ["v_max_pu", "total_kw"]. Return type: Series Returns: Outcome to max-minus-min of its group means.