Get the first index of an element in numpy array · where(arr == 15) · if len(result) > 0 and len(result[0]) > 0: · print('First Index of element with value 15 is ' ...
確定! 回上一頁