method
nditer.remove_axis(i)
Removes axis i
from the iterator. Requires that the flag “multi_index” be enabled.
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.nditer.remove_axis.html