pandera.api.checks.Check.str_contains#

classmethod Check.str_contains(pattern, **kwargs)[source]#

Ensure that a pattern can be found within each row.

Parameters
  • pattern (Union[str, Pattern]) – Regular expression pattern to use for searching

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

Return type

Check