string is nan in python code example
Example 1: check is string is nan python
>>> pd.isnull(None)
True
Example 2: how to check if a string value is nan in python
if(term != term):
print("it's a nan value")
>>> pd.isnull(None)
True
if(term != term):
print("it's a nan value")