title: Color pandas DataFrame value if larger than 1.5*median(column)
body: <p>Let's say I have a DataFrame that looks like this:</p>
  <pre><code>df= pd.DataFrame({'A': [1,-2,0,-1,17],
                    'B': [11,-23,1,-3,132],
                    'C': [121,2029,-243,17,-45]}
                  )
  </code></pre>
  <p>I use a jupyter notebook and want to colour with <code>df.style</code> the values in each column only if they exceed a value X, where X=1.5*median(column). So, I would like to have something like this:</p>
  <p><a href="https://i.stack.imgur.com/LfD5Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LfD5Y.png" alt="enter image description here" /></a></p>
  <p>Preferably, I would like to have some gradient (<code>df.style.background_gradient</code>) to the colouring of the values, e.g. in column <code>A</code> the entry <code>17</code> to be darker than <code>1</code>, because 17 is further away from the median of the column. But the gradient is optional.</p>
  <p>How can I do this?</p>