pyculiarity icon indicating copy to clipboard operation
pyculiarity copied to clipboard

AttributeError: module 'pandas' has no attribute 'Int64Index'

Open jxplus opened this issue 10 months ago • 0 comments

python 3.11 pandas 2.2.2

when run demo, then error:

Traceback (most recent call last): File "D:\workspaces\python_pros\timeSeries1\src\edm\breakoutDetect1.py", line 12, in results = detect_ts(df, max_anoms=0.007, direction='both') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Users\configs\pythonenv\Lib\site-packages\pyculiarity\detect_ts.py", line 220, in detect_ts s_h_esd_timestamps = detect_anoms(all_data[i], k=max_anoms, alpha=alpha, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Users\configs\pythonenv\Lib\site-packages\pyculiarity\detect_anoms.py", line 58, in detect_anoms if not isinstance(data.index, ps.Int64Index): ^^^^^^^^^^^^^ AttributeError: module 'pandas' has no attribute 'Int64Index'

jxplus avatar Apr 23 '24 02:04 jxplus