> ## Documentation Index
> Fetch the complete documentation index at: https://docs-old.tilebox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dataset.collection

```python theme={"system"}
def Dataset.collection(name: str) -> Collection
```

Access a specific collection by its name.

## Parameters

**name** `string`

The name of the collection

## Returns

A collection object.

```python Python theme={"system"}
collection = dataset.collection("My-collection")
```

## Errors

**NotFoundError** `No such collection: Non-existent-Collection`

The specified collection does not exist in the dataset.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.