title: Creating a flag for rows with missing data
body: <p>I have a pandas dataframe and want to create a new column.</p>
  <ul>
  <li>This new column would return 1 if all columns in the row have a value (are not Nan)</li>
  <li>If there was a Nan in any one of the columns in the row it would return 0</li>
  </ul>
  <p>Does anyone have guidance on how to go about this?</p>
  <p>I have used the below to sum the instances of 'Not Nans' in the row, which could possibly be used in an if statement? or is there a more simple way</p>
  <pre><code>code_count.apply(lambda x: x.count(), axis=1)
  code_count['count_languages'] = code_count.apply(lambda x: x.count(), axis=1)
  
  </code></pre>