numpy.core.defchararray.center
-
numpy.core.defchararray.center(a, width, fillchar=' ')[source] -
Возвращает копию
aс элементами, центрированными в строке длинойwidth.Вызывает
str.centerпоэлементно.Параметры: -
a : array_like of str or unicode -
width : int -
Длина результирующих строк
-
fillchar : str or unicode, optional -
Символ заполнения (по умолчанию пробел).
Возвращает: -
out : ndarray -
Массив вывода типа str или unicode в зависимости от типов входных данных
См. также
-
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.15.4/reference/generated/numpy.core.defchararray.center.html