/pastas-data

Public data to test Pastas that can be loaded as ps.load_dataset

GNU General Public License v3.0GPL-3.0

pastas-data

This repository contains several datasets to serve as examples for Pastas. Each dataset is contained in an individual folder. The data itself is stored as csv-files.

Example Usage

The datasets may be obtained through Pastas (version 1.5 or higher) using the following code:

import pastas as ps

data = ps.load_dataset("collenteur_2023")  # returns a dictionary
data["heads"]  # extract the heads

Datasets

The following datasets are currently available:

See the individual subfolders for more information on each dataset.

Notes for adding new datasets

  • each dataset is contained in a folder with the name of that dataset
  • each csv-file has to have a a format where the first row is the header and the first column the index of a Pandas DataFrame
  • each dataset should preferably be related to a scientific publication