xxxxxxxxxx
//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")
xxxxxxxxxx
!pip install https://github.com/pandas-profiling/pandas-profiling/archive/master.zip
from pandas_profiling import ProfileReport
profile = ProfileReport(df, title='Pandas Profiling Report', explorative=True)
profile.to_widgets()
xxxxxxxxxx
# 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.
xxxxxxxxxx
import numpy as np
import pandas as pd
from pandas_profiling import ProfileReport
profile = ProfileReport(train, title="Pandas Profiling Report")
profile.to_widgets()
profile.to_file("your_report.html")
xxxxxxxxxx
!pip install pandas_profiling
#Export html
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")
# In Kaggle Cell:
import pandas_profiling as pp
pp.ProfileReport(df_iris)
xxxxxxxxxx
profile = df.profile_report(title=’Pandas Profiling Report’)profile.to_file(output_file=”Pandas Profiling Report — AirBNB .html”)