{ } Raw JSON

bundles / numpy 2.4.4 / numpy / _core / defchararray / chararray / center

function

numpy._core.defchararray:chararray.center

source: /numpy/_core/defchararray.py:754

Signature

def center(self, width, fillchar = )

Summary

Return a copy of self with its elements centered in a string of length width.

See also

center

Aliases

  • numpy.char.chararray.center