# Create a Dataset

### With the Platform

Creating a Dataset is really simple, once on your "Datalake" page

![](https://2100239547-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M78aoA9Gcxf25O1fNjm%2F-Me-qprLj97vjJBm88Hk%2F-Me-sWK3pmh4WiOIlatm%2Fimage.png?alt=media\&token=f2cccc21-f2bc-42ed-8445-64629d3decca)

### Search for pictures

{% hint style="info" %}
To perform operations, your need to select assets on the table, the right checkbox select all the visible assets, the left one select all filtered assets.
{% endhint %}

You can search pictures on your lake with our Data Query Language, basically you can search pictures in your lake with :

* Tags
* Width
* Height
* Source
* Filename
* Annotations
* Dataset

For example, let's seach for pictures that are tagged `penfun` with a Picture width > 400 px and that have at least one annotation.

![](https://2100239547-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M78aoA9Gcxf25O1fNjm%2F-McA3OKiHAGRJNXybzMI%2F-McA4v7NTEQSjzag7xSb%2Fimage.png?alt=media\&token=bff32f4b-ddf1-4d6a-b962-8842b7cf4e3f)

Once you have filtered your pictures, you can either select all filtered pictures or a subset.

![](https://2100239547-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M78aoA9Gcxf25O1fNjm%2F-McA3OKiHAGRJNXybzMI%2F-McA5cC6fts6yAtE5reB%2Fimage.png?alt=media\&token=5f223f24-306b-4e04-b5e2-cb20bad68217)

You can now click on create dataset !

Then enter a Name and description for your Dataset, please note that description is optional :)&#x20;

![](https://2100239547-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M78aoA9Gcxf25O1fNjm%2F-Me-qprLj97vjJBm88Hk%2F-Me-taEhjBh8pS53gcyQ%2Fimage.png?alt=media\&token=d9cfea5b-2199-4880-a9fd-2c45014c0435)

### With Python SDK

```python
pip install picsellia
```

First make sure that you have Picsellia Python package installed&#x20;

then you will need to initialize the Client with your API Token, available in you profile page.

```python
from picsellia.client import Client
clt = Client(api_token="your token")
```

you can now search for some assets on your lake with the datalake.fetch() method:

```python
pictures = clt.datalake.picture.fetch(quantity=1, tags=['tag1'])
```

You can use Client.datalake.pictures.status() to vizualize the fetched assets &#x20;

then you can create your dataset

```python
clt.datalake.dataset.create(name='dataset2', 
                            description='this is a test',
                            pictures=pictures)

```

You can find a complete reference to the SDK [here](../../references-1/python-sdk-reference-1#push_dataset).
