title: Filter NaN values in a dataframe column
body: <pre><code>y = data.loc[data['column1'] != float('NaN'),'column1']
  </code></pre>
  
  <p>The code above is still returning rows with NaN values in 'column1'. Not sure what I'm doing wrong.. Please help!</p>