ipeadatapy icon indicating copy to clipboard operation
ipeadatapy copied to clipboard

KeyError: 'RAW DATE'

Open doricardo-zz opened this issue 4 years ago • 0 comments

Describe the bug When using the timeseries on COVID19 datasets, i've got error:


KeyError Traceback (most recent call last) /usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2897 try: -> 2898 return self._engine.get_loc(casted_key) 2899 except KeyError as err:

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()

KeyError: 'RAW DATE'

The above exception was the direct cause of the following exception:

KeyError Traceback (most recent call last) 3 frames /usr/local/lib/python3.7/dist-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2898 return self._engine.get_loc(casted_key) 2899 except KeyError as err: -> 2900 raise KeyError(key) from err 2901 2902 if tolerance is not None:

KeyError: 'RAW DATE'

Desktop (please complete the following information): Google Colab OS: Windows10 Browser Google Chrome Version 90.0.4430.93 (Versão oficial) 64 bits

doricardo-zz avatar Apr 29 '21 10:04 doricardo-zz