title: How to find the numbers in three columns which are more than half the values of other column in pandas
body: <p>There are three columns X,Y and Z which has random values.</p>
  
  <p>X,Y and Z values should not be less than half the value of each other.</p>
  
  <p>Need help in math logic </p>
  
  <pre><code>  X    Y     Z
  5461  919  8269
  5400  5000 7000  &lt;---
  4000   1     35
  </code></pre>
  
  <p>The output should be 5400  5000 7000. In first row,Y is less than half of X and Z.In third row,Y and Z both are less than half of X. </p>