W3cubDocs

/NumPy 1.12

numpy.core.defchararray.chararray.zfill

chararray.zfill(width) [source]

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

See also

char.zfill