Answers for "how to use pandas profiling in python"

7

how to do pandas profiling

//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")
Posted by: Guest on July-18-2020
3

pandas profiling

!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()
Posted by: Guest on February-18-2021

Python Answers by Framework

Browse Popular Code Answers by Language