polars.Expr.str.ljust#

Expr.str.ljust(length: int, fill_char: str = ' ') Expr[source]#

Return the string left justified in a string of length length.

Deprecated since version 0.19.12: This method has been renamed to pad_end().

Parameters:
length

Justify left to this length.

fill_char

Fill with this ASCII character.