float(\'nan\') results in Nan (not a number). But how do I check for it? Should be very easy, but I cannot find it.
float(\'nan\')
numpy.isnan(number) tells you if it's NaN or not.
numpy.isnan(number)
NaN