Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 22, 2021 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/c392f88536fa3895da7291b9fca5315a to your computer and use it in GitHub Desktop.
Save amankharwal/c392f88536fa3895da7291b9fca5315a to your computer and use it in GitHub Desktop.
x = data[["Open", "High", "Low"]]
y = data["Close"]
x = x.to_numpy()
y = y.to_numpy()
y = y.reshape(-1, 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment