> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-5/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-5/notebook-operations/data.md).

# Data

The Data options enables a user to add data inside their project from the Data Science Notebook infrastructure.

## Adding Data

* Navigate to a Data Science Notebook page (.ipynb file).
* Click the ***Data*** icon given in the right side panel.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FU102UYe91FYwMTAZp6Uo%2Fimage.png?alt=media&amp;token=1c3ed24f-0420-4baa-bf76-c3a08aee3ee7" alt=""><figcaption></figcaption></figure>

* The ***Data*** option opens displaying the related icons.
* Click on the ***Add*** icon.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FrztIlJRK7WBZPDAMfmqi%2Fimage.png?alt=media&amp;token=a494560e-b180-46a1-be80-242896363646" alt=""><figcaption></figcaption></figure>

* The ***Add Data*** page appears.&#x20;
* Based on the selected ***Data source*** option, the steps to add data may vary based on the selected Data source.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FSbju9Ok26rnfBnZvrq1i%2Fimage.png?alt=media&amp;token=e5a24bcb-f330-4136-93f2-46b6c9469c92" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Refer to the Adding Data page for more details on how to add data.*

*Please refer to these links:* [*Adding Data Sets*](https://docs.bdb.ai/data-science-lab-5/tabs-for-a-dsl-project/data/adding-data#adding-data-sets)*,* [*Uploading and Adding Data Sandbox files*](https://docs.bdb.ai/data-science-lab-5/tabs-for-a-dsl-project/data/adding-data#uploading-and-adding-data-sandbox-files)*, and* [*Adding Feature Stores* ](https://docs.bdb.ai/data-science-lab-5/tabs-for-a-dsl-project/data/adding-data#adding-feature-stores)*for more information.*
{% endhint %}

## ​Reading an added Data

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Using the **get\_data** function datasets and data sandbox files (csv & xlsx files) can be read.*
{% endhint %}

* Add a new ***Code cell*** to Notebook or access an empty Code cell.
* Select a dataset from the **Data** tab.
* The ***get\_data*** function appears in the code cell.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FqJA3dUmVact4V5MHeUh6%2Fimage.png?alt=media&amp;token=ea6138c4-f661-4ae4-bab4-64e58e7b1a33" alt=""><figcaption></figcaption></figure>

* Provide the df (DataFrame) to print the data from the selected Dataset. A Dataset can be an added dataset, data sandbox file, or feature store.
* Run the cell.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FRdWEsivFgk8Z8c1cJCja%2Fimage.png?alt=media&amp;token=8f4f6fcc-9d71-4201-b393-d715ef978b3e" alt=""><figcaption></figcaption></figure>

* The Data preview appears below after the cell run is completed.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FbVezLrK9K4DV38pLya8W%2Fimage.png?alt=media&amp;token=fba34d97-4d7e-4626-abc8-e084b1b596bb" alt=""><figcaption></figcaption></figure>

## Project Level Data Tab&#x20;

The Data Sets/ Sandbox files/ Feature Stores added to a Data Science Notebook will also be listed under the Data tab provided under the same project. Hence, the added datasets will be available for all the Data Science Notebooks created or imported under the same project.

<figure><img src="https://3817372244-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz33KQNYQvBTgQKJBgwTz%2Fuploads%2FxinKVXtyRKHZlUy4jowM%2Fimage.png?alt=media&amp;token=08730482-b910-4cb7-a5e7-719a92c8eb35" alt=""><figcaption></figcaption></figure>
