Appendix C. NumPy Functions' References
This appendix contains a list of useful NumPy functions and their descriptions.
numpy.apply_along_axis
(func1d, axis, arr, *args
): Applies the functionfunc1d
along an axis on 1D slices ofarr
.numpy.arange([start,] stop[, step,], dtype=None)
: Creates a NumPy array with evenly spaced values within a specified range.numpy.argsort(a, axis=-1, kind='quicksort', order=None)
: Returns the indices that would sort the input array.numpy.argmax(a, axis=None)
: Returns the indices of the maximum values along an axis.numpy.argmin(a, axis=None)
: Returns the indices of the minimum values along an axis.numpy.argwhere(a)
: Finds the indices of non-zero elements.numpy.array(object, dtype=None, copy=True, order=None, subok=False, ndmin=0)
: Creates a NumPy array from an array-like sequence, such as a Python list.numpy.testing.assert_allclose((actual, desired, rtol=1e-07, atol=0, err_msg='', verbose=True)
: Raises an error if two objects...