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