tumourkit.utils.preprocessing.save_csv

tumourkit.utils.preprocessing.save_csv(csv: DataFrame, csv_path: str, name: str) None

Saves the given CSV file to the specified directory with the specified name and a ‘.class.csv’ extension.

Parameters:
  • csv (pd.DataFrame) – The CSV file to save.

  • csv_path (str) – The directory to save the CSV file in.

  • name (str) – The base name for the file (without extensions).