numpy.nditer.remove_axis
method
- 
nditer.remove_axis(i)
- 
Removes axis ifrom 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.16.1/reference/generated/numpy.nditer.remove_axis.html