mean_cross_sections
eap_pl.mean_cross_sections(panel, variables)Average each descriptive statistic across monthly cross-sections.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| panel | polars.DataFrame | Stock-month data with a month column. |
required |
| variables | dict[str, str] | Variable columns mapped to row labels. | required |
Returns
| Name | Type | Description |
|---|---|---|
| polars.DataFrame | A row per variable, with the average of each month’s mean, standard deviation, skewness, excess kurtosis, quantiles, extrema, and non-null count (rounded). |