numpy.record.nonzero

方法

record.nonzero()

与对应数组属性相同的标量方法。

请看 ndarray.nonzero .