NumPy

numpy.char.chararray.compressΒΆ

method