Lesson plan for exploratory data visualization!
-
Make sure you have the following packages:
pip3 install jupyter plotnine pandas
-
Make sure you're in the right folder on your terminal (I like to store things in my
~/Developmentfolder, but you can keep them elsewhere if you prefer).# enter the folder where you plan to clone this repo cd ~/Development # make sure you got there (read the output!) pwd
-
Next, clone this repository by clicking the green button in the upper right corner, selecting
SSHand copying the string that looks likegit@github.com:code4policy/<REPO-NAME>.git(<REPO-NAME>will be the name of your repository). Then, in the terminal run the following:git clone git@github.com:code4policy/<REPO-NAME>.git
Note that by default, git will clone the repository into a folder with name
<REPO-NAME>. After the repo is cloned, open that directory (usecdto get into the folder you just cloned). -
Run the jupyter notebook and open up
exploratory-data-analysis.ipynbjupyter notebook
Make sure you're using a python3 kernel in Jupyter!