numpy.core.defchararray.chararray.repeat

chararray.repeat(repeats, axis=None)

重复数组的元素。

有关完整文档,请参阅numpy.repeat

也可以看看

numpy.repeat
等效函数