NumPy

numpy.char.chararray.chooseΒΆ

method