Sign inGet started
← Back to all guides

How to import a Jupyter notebook

By Nick Barth

Updated on March 6, 2024

How to import a Jupyter notebook into Deepnote

Deepnote is an online platform that provides a collaborative environment for users to work with Jupyter notebooks. Importing a notebook into Deepnote is a straightforward process that takes only a few steps. Follow this guide to quickly start working with a Jupyter notebook in Deepnote.

Step-by-step guide to import a Jupyter notebook

Step 1: Log in to your Deepnote account

To begin, you need to log in to your Deepnote account. If you do not have an account, you will need to sign up for one at Deepnote.

Step 2: Create a new project or open an existing one

Once you're logged in, you can either create a new project or open an existing one where you want to import the notebook.

To create a new project:

  • Click on the 'New project' button, usually located at the top right of the dashboard.
  • Give your project a name and click 'Create'.

To open an existing project:

  • Navigate to the 'Projects' tab and click on the project you wish to open.

Step 3: Importing the notebook

With your project open:

  • Locate the 'Files' sidebar on the left-hand side of the project workspace.
  • Drag and drop the Jupyter notebook file (`.ipynb`) from your local machine directly into the 'Files' sidebar of Deepnote. In most cases, you should see an area highlighted, indicating where to drop the file.

Alternatively:

  • You can click the 'Add file' button in the 'Files' sidebar.
  • Select 'Upload' and choose the `.ipynb` file from your local computer.

Step 4: Opening the imported notebook

After uploading the file, the notebook should now be visible in the 'Files' sidebar.

  • Click on the notebook file, and it will open in a new tab within Deepnote, ready for use.

Additional tips

  • If your notebook has dependencies, make sure to install the necessary packages in Deepnote by opening a new cell and using `!pip install package-name` or creating a requirements file.
  • Remember that Deepnote allows you to share and collaborate with others in real-time, so you can invite collaborators to work on the notebook with you.

With these simple steps, you can begin to work on your Jupyter notebook in a powerful collaborative environment provided by Deepnote.

Nick Barth

Product Engineer

Nick has been interested in data science ever since he recorded all his poops in spreadsheet, and found that on average, he pooped 1.41 times per day. When he isn't coding, or writing content, he spends his time enjoying various leisurely pursuits.

Follow Nick on LinkedIn and GitHub

That’s it, time to try Deepnote

Get started – it’s free
Book a demo

Footer

Solutions

  • Notebook
  • Data apps
  • Machine learning
  • Data teams

Product

Company

Comparisons

Resources

  • Privacy
  • Terms

© Deepnote