import pandas as pd
from pandas import Series
import matplotlib.pyplot as plt
temperature = pd.read_csv(
"https://milliams.com/courses/data_analysis_python/cetml1659on.txt", # file name
skiprows=6, # skip header
delim_whitespace=True, # whitespace separated
na_values=['-99.9', '-99.99'], # NaNs
)
year_plot = temperature.plot.scatter("JAN", "FEB")
plt.show()
There is some sense of correlation between the two months. Years with a warmer January tended to have a warmer February.