cf.FieldList.transpose

FieldList.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.FieldList.transforms

Next topic

cf.FieldList.unsqueeze

This Page