16
Total Commands
100%
Free Access
⚡
Lightning Fast
Available Commands
Click on any command to copy it instantly
16 commands available
16 of 16
import numpy as np
numpy
import
setup
np.array([1,2,3])
numpy
array
create
np.arange(start, stop, step)
numpy
array
sequence
np.linspace(start, stop, num)
numpy
array
sequence
np.zeros((rows, cols))
numpy
array
init
np.ones((rows, cols))
numpy
array
init
np.random.rand() / np.random.randint()
numpy
array
random
arr.shape
numpy
array
info
arr.reshape(new_shape)
numpy
array
reshape
np.sum(arr, axis)
numpy
math
aggregate
np.mean(arr, axis)
numpy
math
aggregate
np.std(arr)
numpy
math
aggregate
np.dot(arr1, arr2)
numpy
math
matrix
arr.T
numpy
array
matrix
np.max(arr), np.min(arr)
numpy
math
aggregate
arr[row, col]
numpy
array
indexing
Missing a command?
Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!