pandera.checks.Check.unique_values_eq#

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

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

Note

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

Parameters
  • values (Iterable) – The set of values that must be present. Maybe any iterable.

  • kwargs – key-word arguments passed into the Check initializer.

Return type

Check

Returns

Check object