2
4

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 1 year has passed since last update.

データサイエンスで便利なやつ(随時更新)

Last updated at Posted at 2022-05-16

Pandas.DataFrame.isin()

条件に合致するデータを探すときに重宝。
①文字列があるかの確認(Trueか否か)。
20220517-074840.jpg

②複数条件で、データの抽出
20220517-074640.jpg

pandas.DataFrame.groupby()

これを使うことで、特定の列を軸とした集計が可能になる。ここでは、性別とidを軸として集計。20220517-075438.jpg

参考文献
 東京大学のデータサイエンティスト育成講座(著者:塚本 邦尊, 山田 典一, 大澤 文孝, 中山 浩太郎, 松尾 豊)

2
4
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
2
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?