pandera.Check.str_startswith

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

Ensure that all values start with a certain string.

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

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

Return type

Check

Returns

Check object