collection = dataset.create_collection("My-collection")
def Dataset.create_collection(name: str) -> Collection
Create a collection in the dataset.

Parameters

name
string
The name of the collection

Returns

The created collection object.
collection = dataset.create_collection("My-collection")