This is a pre-release version (latest).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / _core / defchararray / chararray / zfill

function

numpy._core.defchararray:chararray.zfill

source: build-install/usr/lib/python3.14/site-packages/numpy/_core/defchararray.py:1176

Signature

def zfill(self, width)

Summary

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

See also

char.zfill

Aliases

  • numpy.char.chararray.zfill