How can I check for NaN values?
Asked 07 September, 2021
Viewed 780 times
  • 53
Votes

float('nan') results in Nan (not a number). But how do I check for it? Should be very easy, but I cannot find it.

18 Answer