5
6

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 3 years have passed since last update.

Pandas 構文メモ

Last updated at Posted at 2021-03-29

目的

たまに使う構文をさっと使えるようにメモ

特定の文字列を含む

df['xxx'].str.contains('yyy')

strがないとエラーになる

行を繋げる

pd.concat(['xxx', 'yyy'])

[ ]がないとエラーになる

first argument must be an iterable of pandas objects, you passed an object of type "DataFrame"

5
6
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
5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?