pandera.core.checks.Check.str_endswith#

classmethod Check.str_endswith(cls, string, **kwargs)[source]#

Ensure that all values end with a certain string.

Parameters
  • string (str) – String all values should end with

  • kwargs (Dict[str, Any]) – key-word arguments passed into the Check initializer.

  • kwargs – arguments forwarded to the Check constructor.

Return type

Check