擅长:python、mysql、java
<p><a href="http://openpyxl.readthedocs.io/en/default/filters.html" rel="noreferrer">openpyxl documentation</a>清楚地说明:</p>
<blockquote>
<p>This will add the relevant instructions to the file but will neither actually filter nor sort.</p>
</blockquote>
<p>因此,您需要计算新的行序列并显式地移动数据(即将单元格分配到它们的新位置)。</p>