dylan-profiler / visions

Type System for Data Analysis in Python
https://dylan-profiler.github.io/visions/visions/getting_started/usage/types.html
Other
209 stars 19 forks source link

ImportError: cannot import name 'ABCIndexClass' from 'pandas.core.dtypes.generic' #191

Closed cmnemoi closed 2 years ago

cmnemoi commented 2 years ago

Describe the bug Visions try to import ABCIndexClass from pandas.core.dtypes.generic but it doesn't exist (anymore)

To Reproduce Try to import Pandas Profiling 2.9.0 with Pandas 1.3.x.

Additional context Replace ABCIndexClass by ABCIndex in `[currentcondaenv]/lib/site-packages/visions/dtypes/boolean.py to fix the issue.

Thanks tbnsilveira from Stack Overflow for the fix.