Skip to content

Instantly share code, notes, and snippets.

@macoj
Created February 13, 2019 14:54
Show Gist options
  • Save macoj/7ab765cc696f1d303eea180de9d9bd72 to your computer and use it in GitHub Desktop.
Save macoj/7ab765cc696f1d303eea180de9d9bd72 to your computer and use it in GitHub Desktop.
quick numpy array (n,) to (n,1)
np.arange(0, 10).reshape((-1, 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment