numpy.chararray.ljust

方法

chararray.ljust(width, fillchar=' ')[源代码]

返回包含以下元素的数组 self 在长度字符串中左对齐 width .

参见

char.ljust