7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Pythonでのデータ分析 備忘録

Last updated at Posted at 2018-01-25

Pythonでのデータ分析を行う際の備忘録。
気が向いたら他の方に見て頂けるような記事にしたいと思いますがまずは自分用として。

#複数のグラフを一気に書く方法

fig,ax = plt.subplots(1,3,figsize=(15,5))

1つめのグラフ
sns.countplot("Sex", data=train_df,ax=ax[0])

つめのグラフ
sns.countplot("Sex", data=train_df, hue="Pclass",ax=ax[1])

つめのグラフ
sns.countplot("Sex", data=train_df, hue="Survived", ax=ax[2])

image.png

matplotlib によるデータ可視化の方法 (1)

##各種リンク(毎度検索するのがめんどくさいので)
pythonで美しいグラフ描画 -seabornを使えばデータ分析と可視化が捗る その2
Python でデータ可視化 - "Facet"で属性別グラフを一気に描く方法が便利すぎる
seabornを使ってデータを可視化する(factorplot)
seabornによる統計データ可視化(ポケモン種族値を例に)(2)

7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?