RegexAndPanda documentation

This is the homework assignment that uses pandas and regex to find weather details in the Sioux City Area.

pandasHW.py

This is the homework that uses pandas and regex to get data on weather of Sioux City and information from that.

Author: Eein McKinley
Date: 2026 April 17
pandasHW.main()

This collects the data from the National Weather Service in the Siouxland area and turns it into a pandas dataframe and shows statistics about the weather.

pandasHW.nameNormalizing(name)

Normalizes names for better use in the data frame

Parameters:

name (str) – The name that is being normalized

Returns:

The normalized name

Return type:

str

pandasHW.showStats(tempInfo, humidInfo, pressInfo)

Prints statistics about the weather in the Siouxland area in the terminal

Parameters:
  • tempInfo (list) – Statistics regarding the temperature that are displayed

  • humidInfo (list) – Statistics regarding the humidity that are displayed

  • pressInfo (list) – Statistics regarding the pressure that are displayed