LoginSignup
0
0

More than 3 years have passed since last update.

データ分析コンペ初心者が簡単に説明変数を増やす方法

Last updated at Posted at 2021-03-09

こんな感じで新しい説明変数を作れます
意外と精度上がります

new_column = "hour_age"
meta_df[new_column] = meta_df["hour"].astype(str).str.cat(meta_df["age"].astype(str), sep = '_')
0
0
1

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