cf.Domain.insert_transform

Domain.insert_transform(transform, coords=(), copy=True, key=None)[source]

Insert a new transform into the domain in place, preserving internal consistency.

Parameters :
transform : cf.Transform

The new transform.

coords : sequence of str, optional

copy : bool, optional

If False then the new transform will not be deep copied. By default the transform will be deep copied prior to insertion.

key : str, optional

The identifier for the new coordinate. By default a unique identifier will be generated.

Returns :
out : str

The key of the new transform in the domain’s transforms dictionary.

Examples

>>>

Previous topic

cf.Domain.insert_dimension

Next topic

cf.Domain.items

This Page