Reputation: 31
I cannot import name DataError
from pandas.core.base
When I import package:
from pandas_profiling import ProfileReport
it shows error:
cannot import name 'DataError' from 'pandas.core.base'
Upvotes: 3
Views: 2076
Reputation: 21
The new version of Python (3.11) does not work with pandas_profiling
. However, the old version works fine.
My version is 3.8.8
, and it works in the command line:
import pandas_profiling as pp
data = pd.read_csv( "-----.csv")
pp.ProfileReport(data)
Upvotes: 2