Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2525, in get_loc

return self._engine.get_loc(key)


 "pandas/_libs/index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc


 "pandas/_libs/hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item


 "pandas/_libs/hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'sma10'

Traceback (most recent call last):


 "/home/developer/PycharmProjects/pandas/pandas/core/indexes/base.py", line 3225, in get_loc

return self._engine.get_loc(casted_key)


 "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc

cpdef get_loc(self, object val):


 "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc

return self.mapping.get_item(val)


 "pandas/_libs/hashtable_class_helper.pxi", line 5038, in pandas._libs.hashtable.PyObjectHashTable.get_item

cpdef get_item(self, object val):


 "pandas/_libs/hashtable_class_helper.pxi", line 5046, in pandas._libs.hashtable.PyObjectHashTable.get_item

raise KeyError(val)
KeyError: '2011'
