numpy.core.defchararray.chararray.rjust

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

返回具有self元素的数组,在长度width的字符串中右对齐。

也可以看看

char.rjust