chararray.
ljust
Return an array with the elements of self left-justified in a string of length width.
See also
char.ljust
numpy.chararray.join
numpy.chararray.lower