class_docstr: Series.str namespace.
class_docstr_tok: ["Series.str","namespace","."]
docstr: Return the length of each string as the number of characters.
  
  Returns
  -------
  Series
      Series of data type :class:`UInt32`.
  
  See Also
  --------
  len_bytes
  
  Notes
  -----
  When working with ASCII text, use :func:`len_bytes` instead to achieve
  equivalent output with much better performance:
  :func:`len_bytes` runs in _O(1)_, while :func:`len_chars` runs in (_O(n)_).
  
  Examples
  --------
  >>> s = pl.Series(["Café", "345", "東京", None])
  >>> s.str.len_chars()
  shape: (4,)
  Series: '' [u32]
  [
      4
      3
      2
      null
  ]
docstr_tok: ["Return","the","length","of","each","string","as","the","number","of","characters",".","Returns","--","--","--","-","Series","Series","of","data","type",":","class",":","`","UInt32","`",".","See","Also","--","--","--","--","len_bytes","Notes","--","--","-","When","working","with","ASCII","text",",","use",":","func",":","`","len_bytes","`","instead","to","achieve","equivalent","output","with","much","better","performance",":",":","func",":","`","len_bytes","`","runs","in","_O","(","1",")","_",",","while",":","func",":","`","len_chars","`","runs","in","(","_O","(","n",")","_",")",".","Examples","--","--","--","--",">",">",">","s","=","pl.Series","(","[","``","Caf\u00e9","''",",","``","345","''",",","``","\u6771\u4eac","''",",","None","]",")",">",">",">","s.str.len_chars","(",")","shape",":","(","4",",",")","Series",":","``","[","u32","]","[","4","3","2","null","]"]
code: def len_chars(self) -> Series:
      """
      Return the length of each string as the number of characters.
  
      Returns
      -------
      Series
          Series of data type :class:`UInt32`.
  
      See Also
      --------
      len_bytes
  
      Notes
      -----
      When working with ASCII text, use :func:`len_bytes` instead to achieve
      equivalent output with much better performance:
      :func:`len_bytes` runs in _O(1)_, while :func:`len_chars` runs in (_O(n)_).
  
      Examples
      --------
      >>> s = pl.Series(["Café", "345", "東京", None])
      >>> s.str.len_chars()
      shape: (4,)
      Series: '' [u32]
      [
          4
          3
          2
          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 8 for calling the StringNameSpace obj's underlying member method code with example usage: obj.len_chars() without return types