title: How to filter data using quantile?
body: <p>I'm trying to filter data quantile by value (95%, 90%, 85%, 80%)</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Gene</th>
  <th>FPKM</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>A</td>
  <td>0.34</td>
  </tr>
  <tr>
  <td>D</td>
  <td>0.25</td>
  </tr>
  <tr>
  <td>C</td>
  <td>0.75</td>
  </tr>
  <tr>
  <td>E</td>
  <td>1.5</td>
  </tr>
  <tr>
  <td>B</td>
  <td>0.31</td>
  </tr>
  <tr>
  <td>F</td>
  <td>2.45</td>
  </tr>
  <tr>
  <td>Y</td>
  <td>7.89</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>So far this is what I have tried:</p>
  <pre><code>q = df['FPKM'].quantile([0.75,0.95])
  print(q)
  
  q95 = df[df['FPKM'].ge(q[0.95]) #95th quantile
  q90 = df[df['FPKM'].between(q[.95],q[0.85])] # 90th quantile
  </code></pre>
  <p>Not sure if it's the right way to extract it this way...</p>