vak.prep.dataset_df_helper.get_dataset_csv_path#

vak.prep.dataset_df_helper.get_dataset_csv_path(dataset_path: Path, data_dir_name: str, timenow: str) Path[source]#

Returns the path that should be used to save a pandas DataFrame representing a dataset to a csv file.

Parameters:
  • dataset_path (str, pathlib.Path) – Path to directory that represents dataset.

  • data_dir_name (str) – Name of directory specified as parameter data_dir when calling vak.core.prep.prep(). This becomes the “prefix” of the csv filename.

  • timenow (str) – Timestamp. This becomes the “suffix” of the csv filename.

Returns:

dataset_csv_path – Path that is used when saving dataset_df as a csv file in the root of the dataset directory, dataset_path.

Return type:

pathlib.Path