delete np.nan from numpy array python code example
Example 1: how to delete nan values in python
x = x[~numpy.isnan(x)]
Example 2: remove nana from np array
x = x[~numpy.isnan(x)]
x = x[~numpy.isnan(x)]
x = x[~numpy.isnan(x)]