cf.AncillaryVariables.transpose

AncillaryVariables.transpose(axes=None, i=False, **kwargs)[source]

Permute the dimensions of the data array of each field in place.

fl.transpose() is equivalent to cf.FieldList(f.transpose() for f in fl).

See cf.Field.transpose for details.

Parameters :
axes, kwargs : optional

Set the new axis order. See cf.Field.transpose for details.

i : bool, optional

If True then update the field list and its fields in place. By default a new field list containing new fields is created.

Returns :

out : cf.FieldList

Previous topic

cf.AncillaryVariables.transforms

Next topic

cf.AncillaryVariables.unsqueeze

This Page