Dec-13-2016, 04:24 PM
Hi there,
I am trying to do a simple test for a NaN value in python3 pandas, but I can't get anything to work. This is what I want to do, x is a float of value anything up to 1396253.0
I am trying to do a simple test for a NaN value in python3 pandas, but I can't get anything to work. This is what I want to do, x is a float of value anything up to 1396253.0
if x == nan: continue else rest of program...I can't find any sytax for it, this itself gives a syntax error, I have seen also isnan() and can't get that working either. Is there a simple solution to this, as it has been cropping up a lot. A null value would have been much easier to deal with.