In [2]:
import pandas as pd
import matplotlib
%matplotlib inline
In [5]:
# Reading in the Data. The Abbreviation MdHHIncE stands for Median household income (dollars).
df = pd.read_excel('data/2013_NYC_CD_MedianIncome_Recycle.xlsx')
df.head()
Out[5]:
In [6]:
df.corr()
Out[6]:
In [8]:
df.plot(kind='scatter', x='MdHHIncE', y='RecycleRate')
Out[8]: