Clean Data

Video Walkthrough

YouTube Video

Resources

Teacher Notes

When doing this as part of an outreach activity, often this section is just a discussion and the full clean_data.py script is provided to students so they can quickly clean their raw data and move ahead to the next part. However, this can easily be expanded to a larger activity to actually build and test the clean_data.py script or perform additional data cleaning processes in a spreadsheet program.

Also, it is worth noting that the clean_data.py script as provided has a commented out line that does not process any missing data (denoted by an "M" in the Kansas Mesonet data) - that will be handled later in the lesson when it becomes an issue.