> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-2/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-2/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/dataset/adding-data-sets.md).

# Adding Data Sets

​The Dataset tab offers a list of uploaded Datasets which can be added to a Data Science Project. The user can get a list of uploaded Data Sandbox from the under this tab.&#x20;

The **Add Datasets** page supports only the **Data Sandbox** as data source with txt, csv, json and xlsx file types.

{% hint style="info" %}
*<mark style="color:green;">Pre-requites:</mark>* *The user must configure the* [*Sandbox Settings*](https://docs.bdb.ai/7.6/core-platform/platform-administration/admin-panel-options/configurations/sandbox-settings) *to access the Data Sandbox option under the Data Science Lab.*
{% endhint %}

## Adding Data Set

* Open the **Dataset** tab from a specific project.
* Click the **Add Datasets** option.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FCTB87zj3gOYOKqRvSSgQ%2Fimage.png?alt=media&amp;token=6ead5dfa-ec91-40ca-9444-431905521e25" alt=""><figcaption><p><em><strong>Accessing the Add Datasets option</strong></em></p></figcaption></figure>

* The user gets redirected to the **Add Datasets** page.
* The ***Data Sets*** option appears as default Data Source.
* A list of all the available Data Sets appears below.
* Select a Query Name by using the check box.
* Click the Add option to add the selected Dataset.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FgS76dxqYPrvlQdgTtZdu%2Fimage.png?alt=media&amp;token=18e9a89e-90f2-4d5c-baeb-8f57dedbd6b6" alt=""><figcaption><p><em><strong>Adding Data Set (Query Service) as Data Set</strong></em> </p></figcaption></figure>

* A notification message appears.
* The selected Data Set gets added to the Data Science Project.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FIaVBoCCTZCiUud7API7R%2Fimage.png?alt=media&amp;token=41e41eb0-e237-4a7d-9b51-4ed537f61ef3" alt=""><figcaption></figcaption></figure>

## Adding Data Sandbox&#x20;

* Open the **Dataset** tab from a specific project.
* Click the **Add Datasets** option.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2Feq0yo6IuiVc8o2Lus8Xn%2Fimage.png?alt=media&amp;token=dcbf3ffa-70ef-45c2-b198-646a282155d9" alt=""><figcaption><p><em><strong>Accessing the Add Datasets option</strong></em></p></figcaption></figure>

* Select the Data Sandbox option from the Data Source.
* Click the ***Upload*** option to upload a Data Sandbox file.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2Fei21U3kkbpK0wCiSKNQT%2Fimage.png?alt=media&amp;token=f4d40c8e-8154-47ae-b2ea-3f0f649cbd54" alt=""><figcaption><p><em><strong>Selecting Data Sandbox as Data Set</strong></em></p></figcaption></figure>

* The user gets redirected to the ***Upload Data Sandbox*** page.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FZlwQHO5tyCo4MfdNLvvm%2Fimage.png?alt=media&amp;token=be3063a3-6144-49a1-bc0b-641a687bc3f4" alt=""><figcaption><p>The Upload Data Sandbox page</p></figcaption></figure>

* Provide a ***Sandbox Name***.
* Provide ***Description*** about the Data Sandbox.
* Click the ***Choose File*** option to select a file.
* Click the ***Save*** option.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FNJ7v5o9c864Ej3dR3Ael%2Fimage.png?alt=media&amp;token=142bdae9-c2c2-4908-b51b-e46bbc80bf3f" alt=""><figcaption></figcaption></figure>

* It will indicate the ***loaded data*** from the selected file in percentage after clicking the ***Save*** option. E.g., the following image suggests that 37% data is uploaded from the file.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FJvlQdCDXLI0lPv6HbQLf%2Fimage.png?alt=media&amp;token=a81c4402-7b41-4d22-8de6-4a62717d206c" alt=""><figcaption></figcaption></figure>

* A notification message appears to indicate that the file has been uploaded (after the data gets loaded 100%).
* The user gets redirected to the ***Add Datasets*** tab.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FhSKpSAdxFx3sdogOTB2J%2Fimage.png?alt=media&amp;token=e21cb9ee-37af-45ab-9925-f390195d477b" alt=""><figcaption></figcaption></figure>

* Select the ***Data Sandbox*** option from the ***Data Source*** drop-down menu.
* The uploaded Data Sandbox file appears in the list below.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2F2Bf4WH16udkLhSrKt1cZ%2Fimage.png?alt=media&amp;token=bffa587c-23ea-45d8-8c49-77ae76c66423" alt=""><figcaption></figcaption></figure>

* Select a Data Sandbox file using the checkbox given next to the Sandbox entry.
* Click the Add option.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FQ4aeTae6HOAtpUOpkSmO%2Fimage.png?alt=media&amp;token=bf43540f-6406-4ddb-9052-e0c877098faa" alt=""><figcaption></figcaption></figure>

* A notification message appears to inform that the selected Dataset (in this case, the selected Data Sandbox file) has been updated.
* The user gets redirected to the ***Dataset*** tab where the added dataset file gets listed.

<figure><img src="https://3380046084-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2o93pDKCv7WARnWqh9pf%2Fuploads%2FoL7iiUCXYku84PYWqZCr%2Fimage.png?alt=media&amp;token=a7fce418-f004-4f54-aaa8-6305d4b3750a" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*&#x20;

* *The user can get a **Search bar** to search across the multiple Datasets options on the **Add Datasets** page.*
* *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-2/data-science-lab-quick-start-flow.md) *to get redirected to the quick start flow page.*
  {% endhint %}
