擅长:python、mysql、java
<ul>
<li><a href="https://docs.python.org/3/tutorial/errors.html" rel="nofollow noreferrer">Errors and Exceptions</a></li>
<li><a href="https://www.w3schools.com/python/python_try_except.asp" rel="nofollow noreferrer">Python Try Except</a></li>
</ul>
<pre><code>try:
pd.read_csv(r'~/Special_ARB.txt', sep="|", header=None,encoding='cp1252',error_bad_lines=False)
except <your error description>:
<do this>
</code></pre>