擅长:python、mysql、java
<p><a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html" rel="nofollow noreferrer">documentation</a>表示有两个引擎:</p>
<blockquote>
<p>engine : {‘c’, ‘python’}, optional</p>
<p>Parser engine to use. The C engine is faster while the python engine is currently more feature-complete.</p>
</blockquote>
<p>问题似乎只出现在'c'引擎,它是自动选择为较大的文件。在</p>
<p>所以,你可以试试</p>
<pre><code>data = pd.read_table(filepath, header=None, engine='python')
</code></pre>