Sep 8, 2024
import numpy as np
.np.array([1, 2, 3])
np.array([[1, 2, 3], [4, 5, 6]])
np.zeros
, np.ones
, np.arange
, and np.linspace
to create arrays with specific properties.np.reshape
or np.resize
.np.vstack
, np.hstack
; split using np.split
or np.array_split
..copy()
to create independent copies.np.sum
, np.min
, np.max
, np.mean
, np.median
, np.std
for statistical calculations.np.dot
), eigenvalues (np.linalg.eig
), etc.np.genfromtxt
and np.savetxt
.np.save
and np.load
.np.corrcoef
to find correlation coefficients.numpy_financial
.np.greater
, np.less
, np.equal
, and related functions.