dataset.delete_collection("My-collection")
def Dataset.delete_collection(collection: str | UUID | CollectionClient) -> None

Delete a collection in the dataset.

Parameters

collection
str | UUID | CollectionClient

The collection to delete. Can be specified by name, id, or as a collection object.

dataset.delete_collection("My-collection")