metasyn.write_excel

metasyn.write_excel(df, fp, file_format=None, overwrite=False)

Write to a Excel file with the same file format.

Parameters:
  • df (DataFrame) – DataFrame to write to a file.

  • fp (Union[Path, str]) – File to write to.

  • file_format (Union[dict, BaseFileInterface, None]) – File format to use for writing the file, by default None meaning to use the defaults.

  • overwrite (bool) – Whether to overwrite the file if it exists, by default False