language:en license:mit arxiv:2305.09696 region:us
---
license: mit
language:
- en
---

This repository contains a total of 483 tabular datasets with meaningful column names collected from OpenML, UCI, and Kaggle platforms. The last column of each dataset is the label column. For more details, please refer to our paper https://arxiv.org/abs/2305.09696.
You can use the [code](https://github.com/ZhangTP1996/TapTap/blob/master/load_pretraining_datasets.py) to load all the datasets into a dictionary of pd.DataFrame.

An example script can be found below:

```python
from datasets import load_dataset
import pandas as pd
import numpy as np

data = {}
dataset = load_dataset(path='ztphs980/taptap_datasets')
dataset = dataset['train'].to_dict()
for table_name, table in zip(dataset['dataset_name'], dataset['table']):
    table = pd.DataFrame.from_dict(eval(table, {'nan': np.nan}))
    data[table_name] = table
```