class_docstr: Namespace for string related expressions.
class_docstr_tok: ["Namespace","for","string","related","expressions","."]
docstr: Pad the end of the string until it reaches the given length.
  
  Parameters
  ----------
  length
      Pad the string until it reaches this length. Strings with length equal to
      or greater than this value are returned as-is.
  fill_char
      The character to pad the string with.
  
  See Also
  --------
  pad_start
  
  Examples
  --------
  >>> df = pl.DataFrame({"a": ["cow", "monkey", "hippopotamus", None]})
  >>> df.with_columns(padded=pl.col("a").str.pad_end(8, "*"))
  shape: (4, 2)
  ┌──────────────┬──────────────┐
  │ a            ┆ padded       │
  │ ---          ┆ ---          │
  │ str          ┆ str          │
  ╞══════════════╪══════════════╡
  │ cow          ┆ cow*****     │
  │ monkey       ┆ monkey**     │
  │ hippopotamus ┆ hippopotamus │
  │ null         ┆ null         │
  └──────────────┴──────────────┘
docstr_tok: ["Pad","the","end","of","the","string","until","it","reaches","the","given","length",".","Parameters","--","--","--","--","--","length","Pad","the","string","until","it","reaches","this","length",".","Strings","with","length","equal","to","or","greater","than","this","value","are","returned","as-is",".","fill_char","The","character","to","pad","the","string","with",".","See","Also","--","--","--","--","pad_start","Examples","--","--","--","--",">",">",">","df","=","pl.DataFrame","(","{","``","a","''",":","[","``","cow","''",",","``","monkey","''",",","``","hippopotamus","''",",","None","]","}",")",">",">",">","df.with_columns","(","padded=pl.col","(","``","a","''",")",".str.pad_end","(","8",",","``","*","''",")",")","shape",":","(","4",",","2",")","\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510","\u2502","a","\u2506","padded","\u2502","\u2502","--","-","\u2506","--","-","\u2502","\u2502","str","\u2506","str","\u2502","\u255e\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u256a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2561","\u2502","cow","\u2506","cow","*","*","*","*","*","\u2502","\u2502","monkey","\u2506","monkey","*","*","\u2502","\u2502","hippopotamus","\u2506","hippopotamus","\u2502","\u2502","null","\u2506","null","\u2502","\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"]
code: def pad_end(self, length: int, fill_char: str = " ") -> Expr:
      """
      Pad the end of the string until it reaches the given length.
  
      Parameters
      ----------
      length
          Pad the string until it reaches this length. Strings with length equal to
          or greater than this value are returned as-is.
      fill_char
          The character to pad the string with.
  
      See Also
      --------
      pad_start
  
      Examples
      --------
      >>> df = pl.DataFrame({"a": ["cow", "monkey", "hippopotamus", None]})
      >>> df.with_columns(padded=pl.col("a").str.pad_end(8, "*"))
      shape: (4, 2)
      ┌──────────────┬──────────────┐
      │ a            ┆ padded       │
      │ ---          ┆ ---          │
      │ str          ┆ str          │
      ╞══════════════╪══════════════╡
      │ cow          ┆ cow*****     │
      │ monkey       ┆ monkey**     │
      │ hippopotamus ┆ hippopotamus │
      │ null         ┆ null         │
      └──────────────┴──────────────┘
  
      """
      return wrap_expr(self._pyexpr.str_pad_end(length, fill_char))
  
imports: from __future__ import annotations
  import warnings
  from typing import TYPE_CHECKING
  import polars._reexport
  from polars import functions
  from polars.datatypes import Date, Datetime, Int32, Time, py_type_to_dtype
  from polars.exceptions import ChronoFormatWarning
  from polars.utils._parse_expr_input import parse_as_expression
  from polars.utils._wrap import wrap_expr
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_renamed_parameter, rename_use_earliest_to_ambiguous
  from polars.utils.various import find_stacklevel
label_desc: Use image node_id 19 for calling the ExprStringNameSpace obj's underlying member method code with example usage: obj.pad_end(length, fill_char) and returns: wrap_expr