pandera.core.checks.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 (Dict[str, Any]) – key-word arguments passed into the Check initializer.

  • kwargs – arguments forwarded to the Check constructor.

Return type

Check