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