API reference

from semsynth.datasets import DatasetSpec, load_dataset

spec = DatasetSpec(provider="uciml", id=45)
payload = load_dataset(spec)
payload.frame.head(3)
age sex cp trestbps chol fbs restecg thalach exang oldpeak slope ca thal num
0 63 1 1 145 233 1 2 150 0 2.3 3 0.0 6.0 0
1 67 1 4 160 286 0 2 108 1 1.5 2 3.0 3.0 2
2 67 1 4 120 229 0 2 129 1 2.6 2 2.0 7.0 1

semsynth

Toolkit to profile, describe and synthesize tabular datasets.