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

numpy.chararray.ljust

method

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

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

See also

char.ljust

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