Skip to content

Instantly share code, notes, and snippets.

@sharathgrao
Last active November 19, 2020 03:17
Show Gist options
  • Save sharathgrao/d9073e710700d048a5622f00d53d8d7f to your computer and use it in GitHub Desktop.
Save sharathgrao/d9073e710700d048a5622f00d53d8d7f to your computer and use it in GitHub Desktop.
pandas-profiling-gist
import pandas as pd
import pandas_profiling as pp
## read the csv data into pandas dataframe
data = pd.read_csv("query-hive-10382804.csv")
## run pandas profiling on data
profile = pp.ProfileReport(data)
## output html file with profiling report of the data
profile.to_file(output_file="pandas-profiling-report.html")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment