Create a Dataset

With the Platform

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

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.

Once you've selected assets, you can click on Operations -> datasets -> create new

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

With Python SDK

pip install picsellia

First make sure that you have Picsellia Python package installed

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

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:

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

You can use Client.datalake.pictures.status() to vizualize the fetched assets

then you can create your dataset

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

You can find a complete reference to the SDK here.