chararray.
nonzero
Return the indices of the elements that are non-zero.
Refer tonumpy.nonzero for full documentation.
numpy.nonzero
See also
numpy.chararray.lstrip
numpy.chararray.put