I have an issue with getting started with pandas profiling.
I tried loading pandas profiling, but upon installation this error pops up:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. anaconda-project 0.9.1 requires ruamel-yaml, which is not installed. sphinx 4.0.1 requires MarkupSafe<2.0, but you have markupsafe 2.1.1 which is incompatible.
I tried to fix it by installing an earlier version. But if I install a MarkupSafe version below 2.0 as indicated, I get the following error:
pandas-profiling 3.2.0 requires markupsafe~=2.1.1, but you have markupsafe 2.0.1 which is incompatible
Now, if I just try to use pandas profiling anyways, I get the error:
cannot import name 'soft_unicode' from 'markupsafe'
This is the code I used:
from pandas_profiling import ProfileReport
import pandas as pd
df = pd.read_excel("WBNAME", sheetname = None)
prof = ProfileReport(df)
prof.to_file(output_file='output.html')
What exactly should I do here to be able to use pandas profiling?