Clean list from NaN

 avatar
user_6939821
python
a year ago
104 B
2
Indexable
Never
## my_array contains NaNs   
new_array = my_array[np.logical_not(np.isnan(my_array))]
print(new_array)