openml.datasets.delete_dataset

openml.datasets.delete_dataset(dataset_id: int) bool

Delete dataset with id dataset_id from the OpenML server.

This can only be done if you are the owner of the dataset and no tasks are attached to the dataset.

Parameters:
dataset_idint

OpenML id of the dataset

Returns:
bool

True if the deletion was successful. False otherwise.