Statistical difference in average temperature
Question
You're given the following dataset showing daily reported weather in Ann Arbor, MI. Is there a statical difference between the average monthly high temperatures (column labeled tmax) between 1980-1985 and 2015-2020?
To help get you started, below is code (Python) to import the referenced dataset:
# Import libraries
%matplotlib inline
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
# Import data
df = pd.read_csv('https://raw.githubusercontent.com/erood/interviewqs.com_code_snippets/master/Datasets/aa_weather.csv')