---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-3-d6151efac463> in <module>()
7 ax1.set_ylabel('portfolio value')
8 ax2 = plt.subplot(212, sharex=ax1)
----> 9 perf.AAPL.plot(ax=ax2)
10 ax2.set_ylabel('AAPL stock price')
/usr/local/lib/python2.7/dist-packages/pandas/core/generic.pyc in __getattr__(self, name)
2148 return self[name]
2149 raise AttributeError("'%s' object has no attribute '%s'" %
-> 2150 (type(self).__name__, name))
2151
2152 def __setattr__(self, name, value):
AttributeError: 'DataFrame' object has no attribute 'AAPL'