pandera.api.checks.Check.str_endswith

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

Ensure that all values end with a certain string.

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

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

Return type:

Check