dataset#

This module contains functions to load datasets from the pastas-data repository on GitHub. The datasets are used for testing and examples in the documentation. The load_dataset function can be used to load a single csv file or multiple csv files from a subfolder in the pastas-data repository.

Examples

Load a single dataset from the “collenteur_2021” subfolder:

df = ps.load_dataset("collenteur_2021")

Functions#

load_dataset(→ pandas.DataFrame | dict[str, ...)

Load csv-files from a subfolder in the pastas dataset repository on GitHub.

list_datasets(→ list[str])

Print a list of available datasets in the pastas-data repository on GitHub.