MatrixReport.write_to_excel#

MatrixReport.write_to_excel(writer, label=None, output_sector_matrix=False)[source]#

Write the report to an Excel file.

Parameters:
  • writer (pd.ExcelWriter) – Excel writer to write the report with.

  • label (Optional[str], optional) – Added to the sheet names to define the matrix, by default None.

  • output_matrix (bool, optional) – Whether to output a sectorised matrix sheet to the Excel file, by default False.

  • output_sector_matrix (bool)

Raises:

ValueError – If the label is over 30 characters long.

Return type:

None