Closed jermaine1ronquillo closed 5 years ago
Can you provide the code and data for error reproduction?
I only used TAIEX data This is the code
from pyFTS.benchmarks import Util as bUtil
df1 = bUtil.get_dataframe_from_bd("benchmarks.db", "tag = 'chen_partitioning' and measure = 'rmse'and transformation is null") dat=bUtil.analytic_tabular_dataframe(df1)
the error
KeyError Traceback (most recent call last) ~/miniconda3/envs/time_series/lib/python3.6/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2524 try: -> 2525 return self._engine.get_loc(key) 2526 except KeyError:
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: '0'
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)
KeyError: '0'
During handling of the above exception, another exception occurred:
KeyError Traceback (most recent call last)