
brands is a numpy array with 2314 elements. I am checking if there is a nan value in the array. The output shows false but when I tried intersection function with np.nan, it shows the common element as nan. So how come I cant find the nan value in array? And how do I remove it?