> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/data-science-lab/project/tabs-for-a-data-science-lab-project/tabs-for-tensorflow-and-pytorch-environment/notebook/notebook-page/notebook-operations/datasets.md).

# Datasets

Now the Notebook page facilitates the user to add the datasets.

{% hint style="info" %}
*Check out the given walk-through on how to add a dataset using the Notebook page,*
{% endhint %}

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FXlIeAQxdqGmkjmntcy1e%2FAdd%20datasets.gif?alt=media&#x26;token=8ed53419-86d4-449f-930c-87e396ac6c2f" alt=""><figcaption><p>Reading a dataset</p></figcaption></figure>

<figure><img src="https://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FGKirBefKcT75ZNQM3sLh%2FCopy%20path.gif?alt=media&amp;token=6000d430-0dcc-45b9-a173-a9e8d3aa54a9" alt=""><figcaption><p>Reading a Data sandbox file using Copy Path</p></figcaption></figure>

## Adding Datasets

* Navigate to the Notebook page.
* Click on the ***Add Dataset*** option.
* The ***Add Datasets*** dialog box appears.
* Select Data Sets or Data Sandbox from the Data Source drop-down menu.
* Select dataset(s) as per the requirement using the check box.
* Click the ***Add*** option.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2F4zyA7vvHXJMu4XncDRuR%2Fimage.png?alt=media&#x26;token=2453d14d-e458-4260-9755-bf12131a018f" alt=""><figcaption></figcaption></figure>

* A notification message appears.
* The selected Dataset(s) get added to the given ***Dataset*** tab.

<figure><img src="https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FmNPqVuGWE2fc6eEU2IKm%2Fimage.png?alt=media&#x26;token=73efc647-b3fe-42d6-9781-c90ea091d713" alt=""><figcaption></figcaption></figure>

* Click on the More icon.
* The drop-down menu appears displaying the [***Preview***](https://docs.bdb.ai/7.6/data-science-lab/project/various-tabs-to-work-with/dataset/dataset-list-page/preview) and ***Data Preparation*** actions for the added dataset appears.

&#x20;     ​![](https://859511478-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FjmqNxuHu62KAZfBKO684%2Fimage.png?alt=media\&token=f489b15c-e1ee-48c8-91ba-23561c962294)

## Uploading Datasets

The **Upload** option is provided for the Sandbox files inside the Data Science Notebook.

* Navigate to the ***Add Datasets*** panel from a Data Science Notebook.
* Click the ***Upload*** option.

<figure><img src="https://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2F5Iym4DtZFwfS7dlDisAm%2FUploadSandbox_4.png?alt=media&amp;token=44e3756c-2821-4d87-ac45-16c1312fbbbd" alt=""><figcaption></figcaption></figure>

* The Upload Data Sandbox window appears.
* Provide a Sandbox Name.
* Provide Description (it is optional).
* Use the Choose File option to select a file.
* Click the Save option to upload the selected file.

<figure><img src="https://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FK8gzok3sb5VUun3HDEtv%2FUploadSandbox_5.png?alt=media&amp;token=5bbf511f-262a-4cc0-8d64-dee6cc8b4ef3" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform completion of the action.
* The uploaded file lists below with a checkbox to select it.

<figure><img src="https://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FQ1lqjWRwWYyRI1l5VxnO%2FUploadSandbox_6.png?alt=media&amp;token=91f6bfa1-e04e-47d5-af9a-eb8e7ae3d12a" alt=""><figcaption></figcaption></figure>

## ​Reading Datasets

* Datasets can be read in two methods as:
  * Using get\_data function datasets and data sandbox files (csv & xlsx files) can be read.
  * Using Copy Path functionality data sandbox files (xls, txt, png, json, jpg, jpeg, mp4 files) can be read.

<figure><img src="https://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FQj2i8amU80HjpVQ7CmnC%2FReading_with_getData.png?alt=media&amp;token=0e14a297-cada-4bfe-be39-9202b36ded4f" alt=""><figcaption><p>Reading a Data Sandbox file using get_data function.</p></figcaption></figure>

<figure><img src="https://1025450693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Figrg2b2URgwMO5YmejDu%2Fuploads%2FmRzREExS3FEtZCKaHnIG%2FReadUsingcopyPath.png?alt=media&amp;token=4559c8d9-2d3c-4938-b516-f80c200443cf" alt=""><figcaption><p>Reading a Data Sandbox file Copy Path functionality.</p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer the **Data Science Lab Quick Start Flow** page to get an overview of the **Data Science Lab** module in nutshell.* [***Click here***](https://docs.bdb.ai/data-science-lab/data-science-lab-quick-start-flow) *to get redirected to the quick start flow page.*
{% endhint %}
