I am trying to convert all true values in array 'v' to their actual numbers. Any suggestions would be highly appreciated.
import numpy as np from numpy import load dict_data = load('E_starData.npz') EStar = dict_data['arr_0'] v = np.greater(EStar, 0.1) print(v) #prints an array of true and false values, would like to display true values as the actual number The code is pulling a saved zip file with all the data.
EStar's shape.