擅长:python、mysql、java
<p>在read_csv()中提供列名列表应该可以做到这一点。</p>
<p>例如:名称=['a','b','c','d','e']</p>
<p><a href="https://github.com/pydata/pandas/issues/2981" rel="noreferrer">https://github.com/pydata/pandas/issues/2981</a></p>
<p>编辑:如果不想提供列名,请按照尼古拉斯的建议执行</p>