---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
<ipython-input-4-3bbf13842cb8> in <module>
1 get_ipython().run_line_magic('matplotlib', 'inline')
2 axes = prediction_table[[
----> 3 'Monthly Savings',
4 ]].plot(kind='bar')
5
~/.virtualenvs/crosscompute/lib/python3.6/site-packages/pandas/core/frame.py in __getitem__(self, key)
2932 key = list(key)
2933 indexer = self.loc._convert_to_indexer(key, axis=1,
-> 2934 raise_missing=True)
2935
2936 # take() does not accept boolean indexers
~/.virtualenvs/crosscompute/lib/python3.6/site-packages/pandas/core/indexing.py in _convert_to_indexer(self, obj, axis, is_setter, raise_missing)
1352 kwargs = {'raise_missing': True if is_setter else
1353 raise_missing}
-> 1354 return self._get_listlike_indexer(obj, axis, **kwargs)[1]
1355 else:
1356 try:
~/.virtualenvs/crosscompute/lib/python3.6/site-packages/pandas/core/indexing.py in _get_listlike_indexer(self, key, axis, raise_missing)
1159 self._validate_read_indexer(keyarr, indexer,
1160 o._get_axis_number(axis),
-> 1161 raise_missing=raise_missing)
1162 return keyarr, indexer
1163
~/.virtualenvs/crosscompute/lib/python3.6/site-packages/pandas/core/indexing.py in _validate_read_indexer(self, key, indexer, axis, raise_missing)
1244 raise KeyError(
1245 u"None of [{key}] are in the [{axis}]".format(
-> 1246 key=key, axis=self.obj._get_axis_name(axis)))
1247
1248 # We (temporarily) allow for some missing keys with .loc, except in
KeyError: "None of [Index(['Monthly Savings'], dtype='object')] are in the [columns]"