ydata-profiling

概要

インストール

pip install ydata-profiling
conda install -c conda-forge ydata-profiling

プロファイルの作成

from ydata_profiling import ProfileReport
profile = ProfileReport(df, title="Profiling Report")

Jupyter Notebooksでの使用

ウィジェットとして表示

profile.to_widgets()

*VS Codeではうまく表示されない

セルにHTMLとして埋め込んで表示

profile.to_notebook_iframe()

ファイルへの書き出し

HTML

profile.to_file("your_report.html")

JSON

profile.to_file("your_report.json")