Skip to content

Instantly share code, notes, and snippets.

@GermanCM
Last active February 14, 2019 16:04
Show Gist options
  • Save GermanCM/4f151fe5e5c2ebf82e78d732d6e11ef5 to your computer and use it in GitHub Desktop.
Save GermanCM/4f151fe5e5c2ebf82e78d732d6e11ef5 to your computer and use it in GitHub Desktop.
Creates and saves a dataframe profile in an HTML file
def profile_dataframe(dataframe):
import pandas_profiling as pp
profile = pp.ProfileReport(dataframe)
profile.to_file(outputfile="df_profiling_report.html")
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment