class_docstr: Series.str namespace.
class_docstr_tok: ["Series.str","namespace","."]
docstr: Check if string values start with a substring.
  
  Parameters
  ----------
  prefix
      Prefix substring.
  
  See Also
  --------
  contains : Check if string contains a substring that matches a regex.
  ends_with : Check if string values end with a substring.
  
  Examples
  --------
  >>> s = pl.Series("fruits", ["apple", "mango", None])
  >>> s.str.starts_with("app")
  shape: (3,)
  Series: 'fruits' [bool]
  [
      true
      false
      null
  ]
docstr_tok: ["Check","if","string","values","start","with","a","substring",".","Parameters","--","--","--","--","--","prefix","Prefix","substring",".","See","Also","--","--","--","--","contains",":","Check","if","string","contains","a","substring","that","matches","a","regex",".","ends_with",":","Check","if","string","values","end","with","a","substring",".","Examples","--","--","--","--",">",">",">","s","=","pl.Series","(","``","fruits","''",",","[","``","apple","''",",","``","mango","''",",","None","]",")",">",">",">","s.str.starts_with","(","``","app","''",")","shape",":","(","3",",",")","Series",":","'fruits","'","[","bool","]","[","true","false","null","]"]
code: def starts_with(self, prefix: str | Expr) -> Series:
      """
      Check if string values start with a substring.
  
      Parameters
      ----------
      prefix
          Prefix substring.
  
      See Also
      --------
      contains : Check if string contains a substring that matches a regex.
      ends_with : Check if string values end with a substring.
  
      Examples
      --------
      >>> s = pl.Series("fruits", ["apple", "mango", None])
      >>> s.str.starts_with("app")
      shape: (3,)
      Series: 'fruits' [bool]
      [
          true
          false
          null
      ]
  
      """
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from polars.series.utils import expr_dispatch
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_renamed_parameter
label_desc: Use image node_id 12 for calling the StringNameSpace obj's underlying member method code with example usage: obj.starts_with(prefix) without return types