Search
Search Results
Search finished, found 13 page(s) matching the search query.
- numpy.expand_dims
...NumPy reference Routines and objects by topic Array manipulation routines numpy.expand_dims...
- numpy.expand_dims (Python function, in numpy.expand_dims)
- numpy.ma.expand_dims (Python function, in numpy.ma.expand_dims)
- NumPy 1.13.0 Release Notes
...gate on non-numeric dtypes is deprecated (it should match the behavior of np.conjugate, which throws an error). Calling expand_dims when the axis keyword does not satisfy -a.ndim - 1 <= axis <= a.ndim, where a is the array being reshaped, i...
- NumPy 1.16.0 Release Notes
...ath updates and efficiency improvements Einsum was synchronized with the current upstream work. numpy.angle and numpy.expand_dims now work on ndarray subclasses In particular, they now work for masked arrays. NPY_NO_DEPRECATED_API compi...
- NumPy 1.18.0 Release Notes
...ank has been removed. This was deprecated in NumPy 1.10 and has been replaced by np.ndim. (gh-14039) The deprecation of expand_dims out-of-range axes in 1.13.0 has expired. (gh-14051) PyArray_FromDimsAndDataAndDescr and PyArray_FromDims hav...
- numpy.argmax
...xThe maximum value along a given axis. unravel_indexConvert a flat index into an index tuple. take_along_axisApply np.expand_dims(index_array, axis) from argmax to an array as if by calling max. Notes In case of multiple occurrences of...
- numpy.argmin
...nThe minimum value along a given axis. unravel_indexConvert a flat index into an index tuple. take_along_axisApply np.expand_dims(index_array, axis) from argmin to an array as if by calling min. Notes In case of multiple occurrences of...
- numpy.expand_dims
...NumPy reference Routines and objects by topic Array manipulation routines numpy.expand_dims...
- numpy.ma.expand_dims
...NumPy reference NumPy’s module structure Masked array operations numpy.ma.expand_dims...
- numpy.ma.squeeze
...d not a scalar. Raises: ValueErrorIf axis is not None, and an axis being squeezed is not of length 1 See also expand_dimsThe inverse operation, adding entries of length one reshapeInsert, remove, and combine dimensions, and resiz...
- numpy.squeeze
...d not a scalar. Raises: ValueErrorIf axis is not None, and an axis being squeezed is not of length 1 See also expand_dimsThe inverse operation, adding entries of length one reshapeInsert, remove, and combine dimensions, and resiz...
- NumPy: the absolute basics for beginners
...ere. How to convert a 1D array into a 2D array (how to add a new axis to an array) This section covers np.newaxis, np.expand_dims You can use np.newaxis and np.expand_dims to increase the dimensions of your existing array. Using np.newax...