macrosynergy.visuals.view_panel_dates#

view_panel_dates(df, size=None, use_last_businessday=True)[source]#

Visualize panel dates with color codes.

Parameters:
  • df (DataFrame) – DataFrame cross sections rows and category columns.

  • size (Tuple[float]) – tuple of floats with width/length of displayed heatmap.

  • use_last_businessday (bool) – boolean indicating whether or not to use the last business day before today as the end date. Default is True.