My Snippets
My Collections
Search Engine
Pricing
Clean list from NaN
user_6939821
python
a year ago
104 B
2
Indexable
## my_array contains NaNs new_array = my_array[np.logical_not(np.isnan(my_array))] print(new_array)