EAPDataFrameNamespace.show_grid
eap_pl.EAPDataFrameNamespace.show_grid(control, target, *, holding=False)Display a pivoted portfolio grid with optional year headings.
The frame has a target column of quartile numbers, an optional year column, and one value column per control portfolio. Target codes 5 and 6 denote the high-minus-low spread and the average. Optional Diff and Avg columns contain the spread and average across the control portfolios.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| control | str | Display label for the control sort, such as "Beta". |
required |
| target | str | Display label for the target sort, such as "Market cap". |
required |
| holding | bool | Label year as the formation year and show the next calendar year as the holding year. Requires a year column. |
False |