Skip to content

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

@jxplus

Description

@jxplus

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions