How to get rid of "Unnamed: 0" column in a pandas DataFrame read in from CSV file?
<p>I have a situation wherein sometimes when I read a <code>csv</code> from <code>df</code> I get an unwanted index-like column named <code>unnamed:0</code>. </p>

<p><code>file.csv</code></p>

<p></p>

<pre><code>,A,B,C
0,1,2,3
1,4,5,6
2,7,8,9
</code></pre>

<p>The CSV is read with this:</p>

<pre><code>pd.read_csv('file.csv')

   Unnamed: 0  A  B  C
0           0  1  2  3
1           1  4  5  6
2           2  7  8  9
</code></pre>

<p>This is very annoying! Does anyone have an idea on how to get rid of this?</p>