How to download a Jupyter Notebook from GitHub?

This is a fairly basic question.

I am working on a data science project inside of a Pandas tutorial. I can access my Jupyter notebooks through my Anaconda installation. The only problem is that the tutorial notebooks (exercise files) are on GitHub.

My question: how do I download the exercise files from GitHub and then have them display in the Jupyter notebook section on my computer so that I can use them interactively?

I am very new to Jupyter Notebooks. So far, I have been using PyCharm to execute all of my code.

Topic jupyter ipython pandas python

Category Data Science


This is a tool that I came across to run Jupyter notebooks: Binder.

You just need to input the repo you are looking at, the branch, and the path. Then you can interactively run the notebook.

The notebook gets hosted by the website, so you don't need to worry about computing power on your machine or installing all the required packages.


You can do:

  1. Open the jupyter notebook you want to run.

  2. Click on: Raw
    enter image description here

  3. Save Ctrl+S

  4. Remove: .txt

enter image description here

  1. Now navigate to the directory where notebook is downloaded in jupyter notebook and open it.

If the tutorial is a GitHub repo, sure. Clone the repository. Run jupyter-notebook and open the notebook there.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.