My main goal is to use my CSV file and produce 2 bar charts one that shows the average temperature of the summer for every year (june-september) and another bar char that will show the average temperature for the yearly winter (december-march).
import matplotlib.pyplot as plt
import pandas as pd
data = pd.read_csv('njtemp.csv')
df = pd.DataFrame(data)
X = list(df.iloc[:, 0])
Y = list(df.iloc[:, 13])
plt.bar(X, Y)
plt.title("NJ Annual Average Temp")
plt.xlabel("Years")
plt.ylabel("AVG ANNUAL TEMP")
plt.show()