numpy / 1.16.1 / generated / numpy.core.defchararray.chararray.ljust.html /

numpy.core.defchararray.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–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.core.defchararray.chararray.ljust.html