metobs_toolkit.dataset.Dataset.save_dataset_to_pkl#

Dataset.save_dataset_to_pkl(filepath: str | PathLike | None = None, overwrite: bool = False) None[source]#

Save the dataset to a pickle (.pkl) file.

Parameters:
  • filepath (str or path-like or None, optional) – Path where the pickle file will be saved. If None, defaults to ‘saved_dataset.pkl’ in the current working directory. Default is None.

  • overwrite (bool, optional) – If True, overwrites existing file. Default is False.

Return type:

None