numpy.char.chararray.ljust#

方法

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

傳回一個陣列,其元素為 self 中的元素,靠左對齊在長度為 width 的字串中。

參見

char.ljust