title: Nan values in a list of dictionaries
body: <p>Am Trying to print if there is a nan value in a list of dictionaries but failed to do so. </p>
  
  <pre><code>data = [{'A' : 2, 'B' : 'ssss'}, {'A' : 3, 'B' : 'xxx'}, {'A' :nan, 'B' : 'ssss'}]
  </code></pre>
  
  <p>Code :</p>
  
  <pre><code>for x in data:
      if (x['A']== 2):
          print('two')
      elif (x['A']== np.nan)
          print('null')
      else:
          print('nothing')
  </code></pre>