cómo verificar si un valor de cadena es nan en python
if(term != term):
print("it's a nan value")
the other guy
if(term != term):
print("it's a nan value")