cf.Domain.axis

Domain.axis(axis=None, **kwargs)[source]

Return a domain axis identifier.

The axis may be selected with the keyword arguments. When multiple criteria are given, the axis will be the intersection of the selections. If no unique axis can be found then None is returned.

Parameters :
match, kwargs : optional

Select the unique axis (it it exists) which would be selected by this call of the domain’s axes method: d.axes(match=match, **kwargs). See cf.Domain.axes for details.

Returns :
out : str

The unique domain axis identifier. If there isn’t a unique axis then None is returned.

See also

axes, item, items, remove_item

Examples

Previous topic

cf.Domain.axes

Next topic

cf.Domain.axis_name

This Page