numpy.core.defchararray.chararray.zfill

method

chararray.zfill(width)[源代码]

Return the numeric string left-filled with zeros in a string of length width.

参见

char.zfill