bigframes.pandas.api.typing.StringMethods.ljust#
- StringMethods.ljust(width, fillchar=' ') T[source]#
Pad right side of strings in the Series/Index up to width.
Examples:
>>> import bigframes.pandas as bpd
>>> ser = bpd.Series(['dog', 'bird', 'mouse']) >>> ser.str.ljust(8, fillchar='.') 0 dog..... 1 bird.... 2 mouse... dtype: string
- Parameters:
- Returns:
Returns Series or Index with minimum number of char in object.
- Return type: