In [1]:
import pandas as pd
In [5]:
%matplotlib inline
In [2]:
df = pd.read_excel("2013_NYC_CD_MedianIncome_Recycle.xlsx")
In [8]:
df.head()
Out[8]:
In [6]:
df.plot(kind='scatter',x='MdHHIncE',y='RecycleRate')
Out[6]:
In [7]:
df.corr()
Out[7]:
In [ ]:
# The correlation is 0.884783.