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

# Data

## Adding Data

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

<figure><img src="/files/ILZKsWjNXGmrsS4sgHRY" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/OhroPSsYssqXVqz89UNc" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/WTijzganH25zWjw3uDyH" 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)
{% endhint %}

## ​Reading the 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="/files/v7VJPVzrAkUMSaQOmizH" 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="/files/27nAjetox1fCXyPKcVSk" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/UC05szEXL2zAvVrQ8J85" 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="/files/AyGaB8oiB5N9X00tmj6A" alt=""><figcaption></figcaption></figure>

## Reading Multiple Sheets inside an Excel Sheet

{% hint style="success" %}
*Check out the illustration to read multiple sheets in a Notebook cell.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhFEvs46BuaaHAKNDSR6T%2Fuploads%2FrVvzgfDsoNEeDmzWDVb1%2FConsume%20in%20notebook%20cells.mp4?alt=media&token=64094e03-0cf9-4449-aff5-2cc8123d421b>" %}

* Add an Excel file with multiple sheets to a DS Project.

* Insert a Markdown cell with the names of the Excel sheets.

* Insert a new code cell.

  <figure><img src="/files/kXpWEbVBno3omJuCx7iD" alt=""><figcaption></figcaption></figure>

* Use a checkbox next to read data.&#x20;

  <figure><img src="/files/vZ9lUKitadz4rdvokoOy" alt=""><figcaption></figcaption></figure>

* The ***get\_data*** function in the code cell.

* Run the code cell.

  <figure><img src="/files/jLa9B9w0BIauDj4EKPsJ" alt=""><figcaption></figcaption></figure>

* The data preview will appear below.

  <figure><img src="/files/eOXsDdPj3e55KuJ75lLf" alt=""><figcaption></figcaption></figure>

* Select another datasheet name and copy it from the markdown cell.

  <figure><img src="/files/4C99IQk4kqek8854O338" alt=""><figcaption></figcaption></figure>

* Paste the copied datasheet name in the code cell that contains the ***get\_data*** function.

  <figure><img src="/files/N1zTuR5IztnW3n1Z5ybx" alt=""><figcaption></figcaption></figure>

* Run the code cell.

* The data preview will be displayed below.

  <figure><img src="/files/HjRqjzohnvZJjKaSxBlA" alt=""><figcaption></figcaption></figure>
