Instructor
Python for Environmental Data Science
Master of Environmental Data Science (MEDS)

Cartoon by XKCD
Course Description
Almost every question you will ask of environmental data in this program needs code to answer it. Over nine days we build that code from nothing: writing Python, loading a dataset, reshaping the data into the form a question needs, and drawing the answer.
EDS 217 comes first in the MEDS program, and the courses that follow assume the Python we cover here. We work on real environmental datasets, in the tools environmental data scientists use, following the same data science workflow on every day of the course. By the end of the nine days you should be able to:
Read environmental data into a pandas DataFrame and inspect its structure and contents
Filter, sort, clean and transform a table to answer a question
Group rows and aggregate them into the comparison a question needs
Combine two tables, reshape between long and wide, and handle dates as objects
Build a figure in matplotlib or seaborn that demonstrates a pattern or relationship in data
Write your own Python: variables, collections, conditionals, loops and functions
Keep a Jupyter notebook in which every conclusion is matched to the cell that produced it
Work with a partner on a short piece of analysis, and present the result to the class
Syncing your classwork to GitHub
Your daily notebooks belong in a GitHub repository that you create yourself, in your own time rather than in class. Follow the directions for creating it before Friday of the second week.
The final project goes in a second repository, separate from your coursework. Day 9 covers what belongs in it, and the settings that differ.

