6
$\begingroup$

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.

$\endgroup$
6
$\begingroup$

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

$\endgroup$
0
11
$\begingroup$

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.
$\endgroup$
0
3
$\begingroup$

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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.