combine_csv_files

combine_csv_files(input_files: list[str] | str, output_file: str, separator='\t') None[source]

Combine multiple CSV files into a single CSV file.

Parameters:
  • input_files (Union[list[str], str]) – List of input CSV file paths or a single input CSV file path.

  • output_file (str) – Output CSV file path where the combined data will be saved.

  • separator (str) – Separator used in the CSV files (default is ‘tab’).