numpy.char.chararray.center#

方法

char.chararray.center(width, fillchar=' ')[源代码]#

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

另请参阅

center