Skip to content

Instantly share code, notes, and snippets.

@MichaelWS
Created July 9, 2014 18:18
Show Gist options
  • Save MichaelWS/da0d165150220c3a8665 to your computer and use it in GitHub Desktop.
Save MichaelWS/da0d165150220c3a8665 to your computer and use it in GitHub Desktop.
pickle Exception
-> 302 pickle.load(open(cacs_file, 'rb'))
303
/usr/anaconda/lib/python2.7/site-packages/pandas-0.14.0_413_gf7822bd-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in __setstate__(self, state)
2091 unpickle_block(values,
2092 self.axes[0].get_indexer(items))
-> 2093 for values, items in zip(bvalues, bitems))
2094
2095 self._post_setstate()
/usr/anaconda/lib/python2.7/site-packages/pandas-0.14.0_413_gf7822bd-py2.7-linux-x86_64.egg/pandas/core/internals.pyc in <genexpr>((values, items))
2091 unpickle_block(values,
2092 self.axes[0].get_indexer(items))
-> 2093 for values, items in zip(bvalues, bitems))
2094
2095 self._post_setstate()
/usr/anaconda/lib/python2.7/site-packages/pandas-0.14.0_413_gf7822bd-py2.7-linux-x86_64.egg/pandas/core/index.pyc in get_indexer(self, target, method, limit)
1282
1283 if not self.is_unique:
-> 1284 raise InvalidIndexError('Reindexing only valid with uniquely'
1285 ' valued Index objects')
1286
InvalidIndexError: Reindexing only valid with uniquely valued Index objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment