LoginSignup
0
0

More than 5 years have passed since last update.

pandas メモ

Last updated at Posted at 2017-06-28

8桁の数字を日付型に変換

  • test.csv
YMD a b c
20100301 1 2 3
20110229 4 5 5

df = pd.read_csv("test.csv", parse_dates=['YMD'],index_col=0)

異なるカラム名で結合

df3 = pd.merge(df1, df2, left_on='df1_col', right_on='df2_col')
0
0
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
0
0