Parameters
string
The name of the collection
Returns
A collection object.Errors
No such collection: Non-existent-Collection
The specified collection does not exist in the dataset.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
collection = dataset.collection("My-collection")
def Dataset.collection(name: str) -> Collection
collection = dataset.collection("My-collection")
Was this page helpful?