---
description: Now the Notebook page facilitates the user to add the datasets.
---

# 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://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FHAz7qOCQw3gtWaLwvSX3%2FCopy%20path.gif?alt=media&#x26;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://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FRLp0CerIZAx03mPLq9Bb%2FUploadSandbox_4.png?alt=media&#x26;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://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FdruSFiua1LrqR83eu5sC%2FUploadSandbox_5.png?alt=media&#x26;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://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FQKD9JomigVgvE1FR0yDf%2FUploadSandbox_6.png?alt=media&#x26;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://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FKbCxX9hutPRHYg3NpIhp%2FReading_with_getData.png?alt=media&#x26;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://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2Fe8PB47yo4D5eM9q03owf%2FReadUsingcopyPath.png?alt=media&#x26;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**_](../../../../../../data-science-lab-quick-start-flow) _to get redirected to the quick start flow page._
{% endhint %}
