sportslabkit.datasets#
Subpackages#
Overview#
- |
Classes#
- class sportslabkit.datasets.KaggleDownloader[source]#
Overview
Methods# Show the dataset info.
List the files in the dataset.
download(file_name, path, force, quiet, unzip)Download the dataset from Kaggle.
Members
- download(file_name: str | None = None, path: PathLike | None = _module_path, force: bool = False, quiet: bool = False, unzip: bool = True) None#
Download the dataset from Kaggle.
- Parameters:
file_name (Optional[str], optional) – Name of the file to download. If None, downloads all data. Defaults to None.
path (Optional[PathLike], optional) – Path to download the data to. If None, downloads to soccertrack/datasets/data. Defaults to None.
force (bool, optional) – If True, overwrites the existing file. Defaults to False.
quiet (bool, optional) – If True, suppresses the output. Defaults to True.
unzip (bool, optional) – If True, unzips the file. Defaults to True.