Deletes a dataset from a project.
Input Parameters | Type | Default | Description |
---|---|---|---|
project_id | str | None | The unique identifier for the project. |
dataset_id | str | None | A 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 Type | Description |
---|---|
str | A 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.