Получите индекс первой истинной стоимости Numpy
#USE numpy.where() TO FIND THE INDEX OF THE FIRST OCCURRENCE OF AN ELEMENT
Real Raccoon
#USE numpy.where() TO FIND THE INDEX OF THE FIRST OCCURRENCE OF AN ELEMENT