pandera.api.checks.Check.unique_values_eq#

classmethod Check.unique_values_eq(values, **kwargs)[source]#

Ensure that unique values in the data object contain all values.

Note

In constrast with isin(), this check makes sure that all the items in the values iterable are contained within the series.

Parameters

values (str) – The set of values that must be present. Maybe any iterable.

Return type

Check