Numpy
Initialisation
np.zeros()
np.empty()
np.full()
np.arange()np.asarray() : No copy is performed if the input is already an ndarray with matching dtype and order.
Random
np.random.rand()
np.random.random()
np.random.randint()Transform
np.reshape(a, newshape, order='C')
np.transpose()Map
np.sum(x1, x2)
np.prod(x1, x2)Reduction
Compare and set
Indexing
Slicing
Broadcasting utilities
Item selection
CSV
Last updated
Was this helpful?