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