---
updatedAt: 2025-09-22T20:41:12.000Z
agentTools:
  projectIndex: https://docs.v7labs.com/llms.txt
---

# Creating Datasets (Python)

## `def create_dataset(self, name: str, team: Optional[str] = None) -> RemoteDataset:`

Datasets are collections of images or videos to be analyzed by your team. So before you can get started with annotations and inference models, you first need to create a dataset:

```python
from darwin.client import Client

# Authenticate first
client = Client.local()

dataset = client.create_dataset('my-first-dataset')
print(dataset.name)
```

Do have in mind that created datasets are `RemoteDataset`s and that invoking `list_local_datasets`  after creating one will not return it in the list. Instead you should use `list_remote_datasets`.