ndarray.argsort()

ndarray.argsort(axis=-1, kind='quicksort', order=None) Returns the indices that would sort this array. Refer to numpy.argsort for full documentation. See also numpy.argsort equivalent function

ndarray.argpartition()

ndarray.argpartition(kth, axis=-1, kind='introselect', order=None) Returns the indices that would partition this array. Refer to numpy.argpartition for full documentation. New in version 1.8.0. See also numpy.argpartition equivalent function

ndarray.argmin()

ndarray.argmin(axis=None, out=None) Return indices of the minimum values along the given axis of a. Refer to numpy.argmin for detailed documentation. See also numpy.argmin equivalent function

ndarray.argmax()

ndarray.argmax(axis=None, out=None) Return indices of the maximum values along the given axis. Refer to numpy.argmax for full documentation. See also numpy.argmax equivalent function

ndarray.any()

ndarray.any(axis=None, out=None, keepdims=False) Returns True if any of the elements of a evaluate to True. Refer to numpy.any for full documentation. See also numpy.any equivalent function

ndarray.all()

ndarray.all(axis=None, out=None, keepdims=False) Returns True if all elements evaluate to True. Refer to numpy.all for full documentation. See also numpy.all equivalent function

Miscellaneous routines

Buffer objects getbuffer(obj [,offset[, size]]) Create a buffer object from the given object referencing a slice of length size starting at offset. newbuffer(size) Return a new uninitialized buffer object. Performance tuning alterdot() Change dot, vdot, and inner to use accelerated BLAS functions. restoredot() Restore dot, vdot, and innerproduct to the default non-BLAS implementations. setbufsize(size) Set the size of the buffer used in ufuncs. getbufsize() Return the size of the b

memmap.flush()

memmap.flush() [source] Write any changes in the array to the file on disk. For further information, see memmap. Parameters: None See also memmap

matrix.view()

matrix.view(dtype=None, type=None) New view of array with the same data. Parameters: dtype : data-type or ndarray sub-class, optional Data-type descriptor of the returned view, e.g., float32 or int16. The default, None, results in the view having the same data-type as a. This argument can also be specified as an ndarray sub-class, which then specifies the type of the returned object (this is equivalent to setting the type parameter). type : Python type, optional Type of the returned vie

matrix.var()

matrix.var(axis=None, dtype=None, out=None, ddof=0) [source] Returns the variance of the matrix elements, along the given axis. Refer to numpy.var for full documentation. See also numpy.var Notes This is the same as ndarray.var, except that where an ndarray would be returned, a matrix object is returned instead. Examples >>> x = np.matrix(np.arange(12).reshape((3, 4))) >>> x matrix([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11]]) >>> x.var