SciPy

numpy.chararray.rjust

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

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

See also

char.rjust