to_csv

OptimizationHistory.to_csv(path: StrOrPath, delimiter: str = ',')[source]

Write a OptimizationHistory to a CSV file and set source_path.

Parameters:
  • path (StrOrPath) – The path to the CSV file.

  • delimiter (str) – The delimiter of the CSV file.