Skip to content

Instantly share code, notes, and snippets.

@hamaguchi-amago
Created December 5, 2022 11:43
Show Gist options
  • Save hamaguchi-amago/1af5d2a58101f226119514dd6083075f to your computer and use it in GitHub Desktop.
Save hamaguchi-amago/1af5d2a58101f226119514dd6083075f to your computer and use it in GitHub Desktop.
import pandas as pd
from pandas_profiling import ProfileReport
# データを読み込む
df = pd.read_csv("data.tsv", index_col=0, delimiter="\t",
names=["setai", "p", "pm", "pf"])
# レポートを作成する
profile = ProfileReport(df, title="23 Wards of Tokyo")
profile.to_file(output_file="profile.html")
@hamaguchi-amago
Copy link
Author

ブログで作成しました。

【Python】pandas profilingを使ってデータを可視化してもらう
https://neko-py.com/pandas-profiling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment