numpy.char.rjust
-
char.rjust(a, width, fillchar=' ')[source] -
Возвращает массив с элементами
aвыровненными по правому краю в строке длинойwidth.Вызывает
str.rjustпоэлементно.- Параметры
-
-
aarray_like of str or unicode -
widthint -
Длина результирующих строк
-
fillcharstr or unicode, optional -
Символ, используемый для заполнения
-
- Возвращает
-
-
outndarray -
Выходной массив str или unicode, в зависимости от типа входных данных
-
См. также
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.char.rjust.html