Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jxplus opened this issue Apr 23, 2024 · 0 comments
Open

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

jxplus opened this issue Apr 23, 2024 · 0 comments

Comments

@jxplus
Copy link

jxplus commented Apr 23, 2024

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant