Week 3 overview
Learning Objectives:¶
- Pandas continued: Merging; Split/Apply/Combine
- Continued Git practice on cloning a repo, and then staging and committing edits to your clone
Learning and Participation Activities with Due Dates (Tuesday, Sep. 16, end of day):¶
In class, Tuesday 9/9¶
- Review last week’s notebooks
Clone the
week3
directory in/spare11/atm533/ktyle
:a. Access the class Jupyterhub server on Turing
b. In the Launcher, open up a Terminal session
c. cd to your
atm533
folder: Typecd /spare11/atm533/<YourNetID>
d. Type
git config --global --add safe.directory /spare11/atm533/ktyle/week3/.git
e. Type
git clone /spare11/atm533/ktyle/week3
f. You should then have a
week3
folder visible in youratm533
directory, which contains oneREADME.md
Markdown file, and two Jupyter notebooks.
On your own¶
Follow these directions (Steps a-h will be demonstrated in class):
a. In the terminal, change directories to your
atm533/week3
folder (i.e., this repository)b. Create a new “development” branch of this repository:
git branch dev
c. Check out this branch:
git checkout dev
d. Edit the
README.md
file as directed in that filee. Save and close the
README.md
filef. Stage your changes:
git add README.md
g. Commit your changes:
git commit -m "Updated README"
h. Open and run the
Pandas_Merge_Dataframes.ipynb
Jupyter notebook.i. Open and run the
Pandas_SAC.ipynb
Jupyter notebook.j. Save, stage and commit your edits to these notebooks as often as you’d like (more often is better!)