When I try to from pandas_profiling import ProfileReport I'm getting this error:
PydanticImportError: 'BaseSettings' has been moved to the 'pydantic-settings' package. See https://docs.pydantic.dev/2.3/migration/#basesettings-has-moved-to-pydantic-settings for more details
Error message that I am seeing
Before this, I did !pip install pandas-profiling
, it works - getting error after this
I am trying this code:
from pandas_profiling import ProfileReport
From my understanding pandas-profiling was deprecated quite a while now.
Try the following please:
#this will ensure that the most recent version is installed !pip install ydata-profiling
from ydata_profiling import ProfileReport