> ## 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.create_collection

```python theme={"system"}
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.

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


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