How to skip several rows in pandas
<p>I'm reading a csv</p>

<pre><code>df = pd.read_csv('file_1.csv')
</code></pre>

<p>and get this error:</p>

<pre><code>Error tokenizing data. C error: Expected 3 fields in line 196, saw 4
</code></pre>

<p>So I put:</p>

<pre><code>df = pd.read_csv('file_1.csv',skiprows=196)
</code></pre>

<p>Now I ge:</p>

<pre><code>Error tokenizing data. C error: Expected 4 fields in line 203, saw 5
</code></pre>

<p>I try:</p>

<pre><code>df = pd.read_csv('file_1.csv',skiprows=196,203)
</code></pre>

<p>and</p>

<pre><code>df = pd.read_csv('file_1.csv',skiprows=[196,203])
</code></pre>

<p>Neither work</p>

<p>Edit.</p>

<p>when I try: </p>

<pre><code> df = pd.read_csv('items_sch_1.csv',skiprows=[196,203])  
</code></pre>

<p>I got:</p>

<pre><code> Error tokenizing data. C error: Expected 3 fields in line 196, saw 4
</code></pre>