python test nan values code example
Example 1: pandas nan values in column
df['your column name'].isnull()
Example 2: how to check if a string value is nan in python
if(term != term):
print("it's a nan value")
df['your column name'].isnull()
if(term != term):
print("it's a nan value")