pandera.Check.equal_to

classmethod Check.equal_to(cls, value, **kwargs)[source]

Ensure all elements of a series equal a certain value.

New in version 0.4.5 Alias: eq

Parameters
  • value – All elements of a given pandas.Series must have this value

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

Return type

Check

Returns

Check object