polars.internals.series.StringNameSpace.ljust

StringNameSpace.ljust(width: int, fillchar: str = ' ') polars.internals.series.Series

Return the string left justified in a string of length width. Padding is done using the specified fillchar, The original string is returned if width is less than or equal to len(s).

Parameters
width

justify left to this length

fillchar

fill with this ASCII character