cf.FieldList.remove_item

FieldList.remove_item(*args, **kwargs)[source]

Remove and return a domain item from each field.

An item is either a dimension coordinate, an auxiliary coordinate, a cell measure or a transform object of the domain.

fl.remove_item() is equivalent to cf.List(f.remove_item() for f in fl).

See cf.Field.remove_item for details.

Parameters :
args, kwargs : optional

See cf.Field.remove_item.

Returns :
out : cf.List

For each field, the removed item, or None if no unique item could be found.

Previous topic

cf.FieldList.remove_data

Next topic

cf.FieldList.remove_items

This Page