I couldn't find an answer from suggested question Suggested Link
I'm trying to check if the value is NaN(of type numpy.float64).
Sample Df:
 df
        amt
 0      50.0
 1      NaN
 2      25.0
Type is type(df['due amount'][1]) is numpy.float64.
I'm trying to check if this value is NaN or not.
  tnx_final['due amount'][1] == np.nan   #This won't work as type is  numpy.float64
What should be the numpy equivalent for the above code? Is there a way to find without changing column type to str ?