<p dir="auto">Consider the following script:</p>
<p dir="auto">import pandas as PD</p>
<p dir="auto">df = PD.read_csv('sample.csv',<br>
encoding='utf8')<br>
print(df.columns[:5])</p>
<p dir="auto">I am using Pandas version 0.12.0 on a Mac.</p>
<p dir="auto">I noticed that when there is a BOM utf-8 file, and if the header row is in the first line, the read_csv() method will leave a leading quotation mark in the first column's name.  However, if the header row is further down the file and I use the "header=" option, then the whole header row gets parsed correctly.</p>
<p dir="auto">Here is an example code:</p>
<p dir="auto">bing_kw = pd.read_csv('../../data/sem/Bing-Keyword_daily.csv', header=9,   thousands=',', encoding='utf-8')</p>
<p dir="auto">Parses the header correctly.</p>
<p dir="auto">bing_kw = pd.read_csv('../../data/sem/Bing-Keyword_daily.csv', thousands=',', encoding='utf-8')</p>
<p dir="auto">Parses the first header column name incorrectly by leaving the leading quotation mark.</p>