SciPy

numpy.core.defchararray.chararray.ljust

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