//get the latest version of pandas_profiling import numpy as np import pandas as pd import pandas_profiling df1=pd.read_csv() profile = df1.profile_report(title=" ") profile.to_file(output_file=" .html")
Here is what the above code is Doing:
1. We are reading the csv file into a dataframe.
2. We are creating a profile report using the dataframe.
3. We are creating an HTML file with the profile report.
You can also create a profile report using the following code:
import pandas_profiling
df1=pd.read_csv(
pandas_profiling.ProfileReport(df1)