title: Calculate percentage of outliers in each column of a dataframe
body: <p>I have a dataframe called <code>myvolabserr</code> and I want to calculate the percentage of the values&gt;10% of each column.<br />
  I do that in a way that</p>
  <ol>
  <li>check if the value is an outlier to a new dataframe which consists of T/F (T if value&gt;10%)</li>
  <li>calculate the percentage of T values in each column</li>
  </ol>
  <p>I am doing the 1st step, I tried</p>
  <pre><code>out = myvolabserr
  for i in range(0, len(out.axes[1])):
      out.iloc[:,i] = myvolabserr.iloc[:,i].apply(lambda x: 'True' if x &gt; 0.1 else 'False')
  print(out)
  </code></pre>
  <p>but I got error saying that</p>
  <pre><code>'&gt;' not supported between instances of 'str' and 'float'
  </code></pre>
  <p>And then I check the types of my df <code>myvolabserr</code>:</p>
  <pre><code>                             ticker
  Absolute Error (Volatility)  AAPL      float64
                               AMD        object
                               BIDU      float64
                               GOOGL     float64
                               IXIC      float64
                               MSFT      float64
                               NDXT      float64
                               NVDA      float64
                               NXPI      float64
                               QCOM      float64
                               SWKS      float64
                               TXN       float64
  dtype: object
  </code></pre>
  <p>Can anyone help with the error?<br />
  And maybe is there any other way to calculate the percentage of the outliers in one go instead of my 2-step way?</p>