Day25 Goals: what we will make by the end of the day

General knowledge to Name the U.S states

Reading CSV Data in Python

pandas documentation - pandas 1.4.2 documentation

API reference - pandas 1.4.2 documentation

Read weather data from a CSV file and then to analyze them

#1. Read data via file module

with open("weather_data.csv") as data_file:
    data = data_file.readlines()
    print(data)

#2. Read data via csv module

import csv
with open("weather_data.csv") as data_file:
    data = csv.reader(data_file)
    print(type(data))
    temperatures = []
    for row in data:
        temperatures.append(row[1])       
    temperatures.remove("temp")
    print(temperatures)

DataFrames & Series: Working with Rows & Columns

#Install pandas