9
$\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$

4 Answers 4

7
$\begingroup$

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

$\endgroup$
0
17
$\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
5
$\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$
1
$\begingroup$
  1. First click on Raw

  2. Then, press ctrl+s

  3. IMPORTANT STEP: Ii ipynb extension is already present after the filename. Clear the extension and rewrite it and save it

  4. Go to location where you saved .ipynb file

  5. Open the jupyter file

Hope it works

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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