LoginSignup
0
1

More than 1 year has passed since last update.

.to_datetimeを使用して、 値をdatetime型の秒単位に変形させる方法

Last updated at Posted at 2022-04-05

キャプチャ.PNG

[code]
train_df['step']=pd.to_datetime(train_df['step'],format='%S').dt.time

train_df.set_index('step',inplace=True)

train_df

0
1
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
1