def METHOD_NAME(self, file_name: str | PathLike[str], delimiter: str = ","):
    """Write a :class:`ParameterHistory` to a CSV file.
    Parameters
    ----------
    file_name : str
        The path to the CSV file.
    delimiter : str
        The delimiter of the CSV file.
    """
    self.source_path = Path(file_name).as_posix()
    self.to_dataframe().METHOD_NAME(file_name, sep=delimiter, index=False)