title: better way to drop nan rows in pandas
body: <p>On my own I found a way to drop nan rows from a pandas dataframe. Given a dataframe <code>dat</code> with column <code>x</code> which contains nan values,is there a more elegant way to do drop each row of <code>dat</code> which has a nan value in the <code>x</code> column?</p>
  
  <pre><code>dat = dat[np.logical_not(np.isnan(dat.x))]
  dat = dat.reset_index(drop=True)
  </code></pre>