numpy.chararray.zfill

chararray.zfill(width)

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

See also

char.zfill

This Page