Skip to content

Instantly share code, notes, and snippets.

@under0tech
Last active April 7, 2024 14:07
Show Gist options
  • Save under0tech/ebe40c7074d3918f3b7303ef4081de5e to your computer and use it in GitHub Desktop.
Save under0tech/ebe40c7074d3918f3b7303ef4081de5e to your computer and use it in GitHub Desktop.
# remove columns which our neural network will not use
init_df = init_df.drop(['open', 'high', 'low', 'adjclose', 'ticker', 'volume'], axis=1)
# create the column 'date' based on index column
init_df['date'] = init_df.index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment