---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/index.py in get_value(self, series, key)
4401 try:
-> 4402 return _index.get_value_at(s, k)
4403 except IndexError:
pandas/index.pyx in pandas.index.get_value_at (pandas/index.c:2408)()
pandas/src/util.pxd in util.get_value_at (pandas/index.c:15952)()
TypeError: 'str' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
<ipython-input-15-079698e348a3> in <module>()
2 'tratado del amor de dios,fonseca, cristobal de': group_top_producers.ix['tratado del amor de dios,fonseca, cristobal de'],
3 'la perfecta casada,leon, luis de': group_top_producers.ix['la perfecta casada,leon, luis de'],
----> 4 'breuissima relacion de la destruycion de las indias,casas, bartolome de las': group_top_producers.ix['breuissima relacion de la destruycion de las indias,casas, bartolome de las'],
5 'de los nombres de christoen tres libros,leon, luis de': group_top_producers.ix['de los nombres de christoen tres libros,leon, luis de'],
6 'vocabulario en lengua castellana y mexicana,molina, alonso de': group_top_producers.ix['vocabulario en lengua castellana y mexicana,molina, alonso de'],
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/indexing.py in __getitem__(self, key)
68 return self._getitem_tuple(key)
69 else:
---> 70 return self._getitem_axis(key, axis=0)
71
72 def _get_label(self, label, axis=0):
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/indexing.py in _getitem_axis(self, key, axis)
936 return self._get_loc(key, axis=axis)
937
--> 938 return self._get_label(key, axis=axis)
939
940 def _getitem_iterable(self, key, axis=0):
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/indexing.py in _get_label(self, label, axis)
79 return self.obj._xs(label, axis=axis)
80 except:
---> 81 return self.obj[label]
82 elif (isinstance(label, tuple) and
83 isinstance(label[axis], slice)):
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/series.py in __getitem__(self, key)
549 def __getitem__(self, key):
550 try:
--> 551 result = self.index.get_value(self, key)
552
553 if not np.isscalar(result):
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/index.py in get_value(self, series, key)
4408 raise InvalidIndexError(key)
4409 else:
-> 4410 raise e1
4411 except Exception: # pragma: no cover
4412 raise e1
/home/davebshow/.virtualenvs/scientific3/lib/python3.4/site-packages/pandas/core/index.py in get_value(self, series, key)
4392
4393 try:
-> 4394 return self._engine.get_value(s, k)
4395 except KeyError as e1:
4396 try:
pandas/index.pyx in pandas.index.IndexEngine.get_value (pandas/index.c:3204)()
pandas/index.pyx in pandas.index.IndexEngine.get_value (pandas/index.c:2903)()
pandas/index.pyx in pandas.index.IndexEngine.get_loc (pandas/index.c:3843)()
pandas/hashtable.pyx in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12265)()
pandas/hashtable.pyx in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:12216)()
KeyError: 'breuissima relacion de la destruycion de las indias,casas, bartolome de las'