I have an array of data with nan values
I want to remove rows with nan values. I want this output:
Leaving only the rows without the nan values.
I tried to use this code
input = input[~np.isnan(input)]
However, the rows did not remove.
I also used
a = input[complete.cases(input), ]
But an error occurred. NameError: name 'complete' is not defined

