Answers for "pandas_profiling pip"

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
2

pandas profiling

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")
Posted by: Guest on June-17-2021

Python Answers by Framework

Browse Popular Code Answers by Language