Last active
September 20, 2019 08:10
-
-
Save wiccy46/70eed7dd8c3fefc162f70b532974b740 to your computer and use it in GitHub Desktop.
[1darray2colvec]Convert 1D array to Column Vector in Python #python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a = np.arange(10) # (10, ) | |
| a.reshape(-1, 1) # (10, 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment