In [11]:
import pandas as pd
import matplotlib.pyplot as plt
In [12]:
data = pd.ExcelFile("intro_pandas.xls")
In [13]:
print data.sheet_names
In [14]:
data_sheet1 = data.parse(u'Sheet1')
In [15]:
data_sheet1
Out[15]:
In [16]:
data_sheet1.sort('Age')
Out[16]:
In [17]:
data_sheet1.sort('Salary')
Out[17]:
In [18]:
%pylab inline
In [19]:
data_sheet1.plot('Name', 'Age')
plt.show()
In [20]:
data_sheet1.plot('Name', 'Salary')
plt.show()
In [20]: