knapply
11/6/2018 - 6:58 PM

NumPy array size

NumPy array size

import numpy as np

numpy_array = np.array(range(1, 21))

result = np.size(numpy_array)

print(result)
#> 20