title: Conditional Logic on Pandas DataFrame
body: <p>How to apply conditional logic to a Pandas DataFrame. </p>
  
  <p>See DataFrame shown below,</p>
  
  <pre><code>   data desired_output
  0     1          False
  1     2          False
  2     3           True
  3     4           True
  </code></pre>
  
  <p>My original data is show in the 'data' column and the desired_output is shown next to it. If the number in 'data' is below 2.5, the desired_output is False.</p>
  
  <p>I could apply a loop and do re-construct the DataFrame... but that would be 'un-pythonic'</p>