numpy.char.chararray.center#

方法

char.chararray.center(width, fillchar=' ')[source]#

返回一个 self 的副本,其中每个元素在其长度为 width 的字符串中居中。

另请参阅

center