{ } Raw JSON

bundles / numpy 2.4.4 / numpy / _core / defchararray / chararray / zfill

function

numpy._core.defchararray:chararray.zfill

source: /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