openml.datasets.status_update

openml.datasets.status_update(data_id: int, status: typing_extensions.Literal[active, deactivated]) None

Updates the status of a dataset to either ‘active’ or ‘deactivated’. Please see the OpenML API documentation for a description of the status and all legal status transitions: https://docs.openml.org/#dataset-status

Parameters:
data_idint

The data id of the dataset

statusstr,

‘active’ or ‘deactivated’