NumPy参考 >例行程序 >String operations > numpy.char.rjust
numpy.char.
rjust
(a, width, fillchar=' ')¶Return an array with the elements of a right-justified in a string of length width.
Calls str.rjust element-wise.
The length of the resulting strings
The character to use for padding
Output array of str or unicode, depending on input type
See also