cf.Domain.remove_items

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

Remove and return items from the domain.

This method has exactly the same interface, functionality and outputs as cf.Field.remove_items. Therefore see cf.Field.remove_items for the full documentation details.

Parameters:
items, kwargs
: optional

See cf.Field.remove_items.

Returns:
out
: dict

A dictionary whose keys are domain item identifiers with corresponding values of the removed items of the domain. The dictionary may be empty.

Examples:

See cf.Field.remove_items.