pandas style background gradient both rows and columns
<p>The <a href="http://pandas.pydata.org/pandas-docs/version/0.18.0/generated/pandas.core.style.Styler.background_gradient.html" rel="noreferrer">pandas style option</a> to add a background gradient is great for quickly inspecting my output table. However, it is applied either row-wise or columns-wise. Would it be possible to apply it to the whole dataframe at once?</p>

<p>EDIT: A minimum working example:</p>

<pre><code>df = pd.DataFrame([[3,2,10,4],[20,1,3,2],[5,4,6,1]])
df.style.background_gradient()
</code></pre>