Remove size 1 dimensions from the field’s data array in place.
Parameters :
axes :optional
The size 1 axes to remove. By default, all size 1 axes are
removed. Size 1 axes for removal may be identified with one
of, or a seqeunce of any combination of:
A dimension’s standard name.
The integer position of a dimension in the data array.