numpy / 1.18.5 / reference / generated / numpy.char.chararray.center.html /

numpy.char.chararray.center

method

chararray.center(self, width, fillchar=' ')

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

See also

center

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.char.chararray.center.html