This is documentation for an old release of NumPy (version 1.3.). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ma.expand_dims

numpy.ma.expand_dims(x, axis)
Expand the shape of the array by including a new axis before the given one.

Previous topic

numpy.ma.atleast_3d

Next topic

numpy.ma.squeeze

This Page

Quick search