User Guide
API reference
Development
Release notes
Learn
1.23
dev
2.2 (stable)
2.1
2.0
1.26
1.25
1.24
1.23
1.22
1.21
1.20
1.19
1.18
1.17
1.16
1.15
1.14
1.13
GitHub
Twitter
numpy.chararray.center
#
method
chararray.
center
(
width
,
fillchar
=
'
'
)
[source]
#
Return a copy of
self
with its elements centered in a string of length
width
.
See also
center