Export

reperiods.export.save_RP(folder_path: str, RPs: list[RepresentativePeriods], sep: str = ',')[source]

Save representative periods (RPs) and their weights to CSV files.

Parameters:
  • folder_path (str) – The path to the folder where the files will be saved.

  • temporal_data (TemporalData) – A TemporalData object containing RPs and their weights.

  • sep (str, optional) – The separator used in the CSV files. Defaults to ‘,’.

Returns:

None