I have just upgraded Python to 3.11 today. Pandas-profiling worked fine before, but now I cannot seem to import it due to the following error:
cannot import name 'DataError' from 'pandas.core.base' (C:\Users\User_name\AppData\Local\Programs\Python\Python311\Lib\site-packages\pandas\core\base.py)
Any help as to how I can fix this?
This is my code:
import pandas as pd
from pandas_profiling import ProfileReport
Pandas version - 1.5.2 Pandas-profiling version - 3.2.0