NumPy

numpy.char.chararray.repeatΒΆ

method