Course Level
Knowledge Unit
Fundamental Programming Concepts
Collection Item Type

This assignment helps students gain experience and proficiency with the Python pandas package in order to learn how to visualize weather data.  Students use Python to get sample outputs and then graph weather data such as maximum and minimum temperatures as well as number of days with rain. 


This is the final assignment in a semester long course. Students work up to this assignment by studying related topics in Python as well as general computing topics. To see how this assignment is sequenced within this course, see the following syllabus: This assignment is labeled "Assignment 6". 

This assignment ultilizes data from the Bozeman Montana area. To make this assignment even more relevant and meaningful, consider analyzing weather data from your local areaSuch information can be found by visiting websites maintained by the National Centers for Environmental Information ( and the U.S. Government (  Additionally, you could invite a meteorologist to speak to your class about the interdisciplinary connections between meteorology and computing.

Engagement Highlights

This assignment uses meaningful and relevant content as well as makes interdisciplinary connections by having a student use Python to model and analyze weather data in a graph. The weather data includes temperature, humidity, rainfall, and other weather data information collected over a period of a year.

Computer Science Details

Computer Science Topic(s)
application programming interface/API
Data visualization
Programming Language

Additional Details

Estimated Time to Complete

2-4 hours

Material Format and Licensing Information

Creative Commons License

Author's Institutional Information

Institution Type
Doctoral/Research Universities - Extensive