char.
zfill
Return the numeric string left-filled with zeros
Calls str.zfill element-wise.
str.zfill
Input array.
Width of string to left-fill elements in a.
Output array of str or unicode, depending on input type
See also