//get the latest version of pandas_profiling
import numpy as np
import pandas as pd
import pandas_profiling
df1=pd.read_csv(<File path>)
profile = df1.profile_report(title="<give any name you want>")
profile.to_file(output_file="<givefilename>.html")
# You can download pandas-profiling by installing the version that runs on your computer for me this worked:
pip install pandas-profiling==1.1.0 # Paste this in the terminal
# Now type pip install pandas-profiling in your terminal it will say, Requirment already satisfied.
python3 -m pip install pandas-profiling