Could you provide some code of what you are attempting?
Ideally, you would first create a virtual environment with conda and install ydata-profiling:
conda create -n synth-env python=3.10
conda activate synth-env
pip install ydata-profiling==4.1.2
Then, in your Jupyter Notebook or other editor (e.g., PyCharm), load your Pandas DataFrame as you normally would and the generation of the profiling report is straightforward:
import pandas as pd
from ydata_profiling import ProfileReport
# Read the data from a csv file
df = pd.read_csv("data.csv")
# Generate the data profiling report
report = ProfileReport(df, title='Original Data')
report.to_file("profiling_report.html")