client.delete_dataset

Deletes a dataset from a project.

Input ParametersTypeDefaultDescription
project_idstrNoneThe unique identifier for the project.
dataset_idstrNoneA unique identifier for the dataset.
PROJECT_ID = 'example_project'
DATASET_ID = 'example_dataset'

client.delete_dataset(
    project_id=PROJECT_ID,
    dataset_id=DATASET_ID
)
Return TypeDescription
strA message confirming that the dataset was deleted.
'Dataset deleted example_dataset'

🚧

Caution

You cannot delete a dataset without deleting the models associated with that dataset first.