擅长:python、mysql、java
<p>它确实做了它应该做的。你知道吗</p>
<pre><code>df = pd.DataFrame(np.arange(16).reshape(4,4))
df.style.background_gradient(subset=[0,1])
df.style.background_gradient()
</code></pre>
<p>提供:</p>
<p><a href="https://i.stack.imgur.com/jNBhE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jNBhE.png" alt="enter image description here"/></a>
<a href="https://i.stack.imgur.com/VUQ4m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VUQ4m.png" alt="enter image description here"/></a></p>
<p>分别。你知道吗</p>