numpy / 1.20.1 / reference / generated / numpy.chararray.zfill.html /

numpy.chararray.zfill

method

chararray.zfill(width) [source]

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

See also

char.zfill

© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.20/reference/generated/numpy.chararray.zfill.html