pandera.core.checks.Check.equal_to#

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

Ensure all elements of a data container equal a certain value.

Parameters
  • value (Any) – values in this pandas data structure must be equal to this value.

  • kwargs (Dict[str, Any]) – arguments forwarded to the Check constructor.

Return type

Check