filter_ordered_dict

filter_ordered_dict

filter_ordered_dict(f, od)[source]

Filters items of an ordered dictionary based on a predicate

Parameters
Return type

OrderedDict[TypeVar(_Key), TypeVar(_Value)]

Returns

A new dictionary