Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for s in range(1, 13):
- train_sc_df['shift_{}'.format(s)] = train_sc_df['trade_price_idx_value'].shift(s)
- test_sc_df['shift_{}'.format(s)] = test_sc_df['trade_price_idx_value'].shift(s)
- train_sc_df.head(13)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement