SciPy

This is documentation for an old release of NumPy (version 1.17.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.chararray.zfill

method

chararray.zfill(self, width)[source]

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

See also

char.zfill

Previous topic

numpy.chararray.view

Next topic

numpy.core.defchararray.array