memmap.
squeeze
Remove single-dimensional entries from the shape ofa.
Refer tonumpy.squeeze for full documentation.
numpy.squeeze
See also