Created
November 6, 2018 18:58
-
-
Save knapply/6a49d876e668290c571aa08c9ca92598 to your computer and use it in GitHub Desktop.
NumPy array size
This file contains 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
import numpy as np | |
numpy_array = np.array(range(1, 21)) | |
result = np.size(numpy_array) | |
print(result) | |
#> 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment