Numpy
Canonical Python scientific computing packageUsage
import numpy as np
# Python array to numpy array
= [1,2,3,4,5]
arr = np.array(arr)
narr >> array([1, 2, 3, 4, 5])
# INDEXING
import numpy as np
# Python array to numpy array
= [1,2,3,4,5]
arr = np.array(arr)
narr >> array([1, 2, 3, 4, 5])
# INDEXING