pandera.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 – key-word arguments passed into the Check initializer.

Return type

Check

Returns

Check object