> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/data-science-lab-3/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-3/project/tabs-for-a-data-science-lab-project/tabs-for-pyspark-environment/notebook/ways-to-access-notebook/import/importing-a-notebook.md).

# Importing a Notebook

Bring your PySpark script to the Notebook framework to carry forward your Data Science experiment.

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> The downloaded Notebooks in the **.ipynb** file format only are supported by the **Upload Notebook** option.*
{% endhint %}

{% hint style="success" %}
*Check out the given walk-through on how to import a Notebook.*
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FGgVrEjrFIsux8LbAZz7k%2FImport%20Notebook%20(PySpark)%20V2.mp4?alt=media&token=3b64e3a3-8007-4bb2-8af8-786a6f8f794d>" %}
***Importing a Notebook to DS Lab Project***
{% endembed %}

The users can seamlessly import Notebooks created using other tools and saved in their systems.

* Select an activated Project.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F8bx2P6mEoNGTabrnhZQd%2Fimage.png?alt=media&amp;token=5d276b67-f818-44ef-928b-5af6bee94400" alt=""><figcaption></figcaption></figure>

* The user gets into the selected Project.
* Click the ***Import*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FWvjpxLtpbF0NNCWZS5QS%2Fimage.png?alt=media&amp;token=6bfc85b9-7ace-4151-883e-adf1d11383f9" alt=""><figcaption><p><em><strong>The Import option provided for Notebook</strong></em></p></figcaption></figure>

* The Import Notebook page opens.
* Select Import Notebook option by using the given checkbox.
* Provide the following information:
  * Notebook Name
  * Description
* Click the ***Choose File*** option.
* Select and upload an ipynb file from the system.
* Once the file gets uploaded, click the ***Save*** option.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FZyqqSsdskfvSkeuTxwnv%2Fimage.png?alt=media&amp;token=14f572b6-79b7-437b-887f-e59f7b772419" alt=""><figcaption></figcaption></figure>

* A a new notebook gets started with the given name.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FkIn8vbtLgw1fIO2phdOB%2Fimage.png?alt=media&amp;token=2921f176-7792-43f6-925c-7e27b6bdd30f" alt=""><figcaption></figcaption></figure>

* The same gets confirmed by a notification message.
* Another notification message appears to ensure that the Notebook has been imported.
* The imported Notebook gets saved by default, and it is suggested by a notification message.
* The imported Notebook gets listed in the left side panel.

<figure><img src="https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F3buEAagemDSfml7Bkr8U%2Fimage.png?alt=media&amp;token=ca803f61-55f1-41fe-a177-7d5f5211b74b" alt=""><figcaption></figcaption></figure>

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

* *Edit the Notebook name by using the **Edit** icon.*
* *While clicking the **Back** icon, the **Exit Page** dialog box appears to ensure that the Notebook is saved. Select the **Yes** option to go back to the **Project List** page.*

&#x20;      ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2F0MuFdacV5DnWIenWrnbV%2Fimage.png?alt=media\&token=5317cdc9-abc5-4905-acfe-c620b434b0e0)

* *The added description appears below the created Notebook in the left side panel.*

&#x20;      ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2FYGXVHIWXc3ooJ2AqL42n%2Fimage.png?alt=media\&token=3188ae61-495e-4367-99fb-c220d0c69ef4)&#x20;

* *If the users try to import a notebook file with some other extension (other than .ipynb), then an error message appears to inform them about the supported format.*

&#x20;      ![](https://2587201349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBLGYLEkBUnc8nVEBAuEI%2Fuploads%2Fw4ip9SLnJEb5NtrlRhql%2Fimage.png?alt=media\&token=7c3dd1d1-c7f5-4ee9-8f0d-3680f317ecd4)

* *Refer the* [***Data Science Lab Quick Start Flow*** ](https://docs.bdb.ai/data-science-lab-3/data-science-lab-quick-start-flow)*page to get an overview of the **Data Science Lab** module in nutshell.*&#x20;
  {% endhint %}
