Created
February 6, 2016 13:37
-
-
Save ranaroussi/fa8c1753c204898bb67c to your computer and use it in GitHub Desktop.
pandas_profiling shorthand for ipython
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this script in | |
# ~/.ipython/profile_default/startup | |
# ------------------------------------------- | |
import pandas_profiling | |
from pandas.core.base import PandasObject | |
def df_profile(df): | |
return pandas_profiling.ProfileReport(df) | |
PandasObject.profile = df_profile | |
# ------------------------------------------- | |
# Now you can profile pandas easily using: | |
# df.profile() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment