numpy / 1.23 / reference / generated / numpy.chararray.ljust.html

numpy.chararray.ljust

method

chararray.ljust(width, fillchar=' ')[source]

Return an array with the elements of self left-justified in a string of length width.

See also

char.ljust

© 2005–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.chararray.ljust.html