numpy.core.defchararray.zfill
-
numpy.core.defchararray.zfill(a, width)[source] -
Возвращает числовую строку, заполненную нулями слева
Вызывает
str.zfillпоэлементно.Параметры: a : array_like, {str, unicode}
Вводной массив.
width : int
Ширина строки для левого заполнения элементов в
a.Возвращает: out : ndarray, {str, unicode}
Выходной массив 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.zfill.html