Python Pandas does not read the first row of csv file
By default, pd.read_csv uses header=0 (when the names parameter is also not specified) which means the first (i.e. 0th-indexed) line is interpreted as column names. If your data has no header, then use pd.read_csv(…, header=None) For example, import io import sys import pandas as pd if sys.version_info.major == 3: # Python3 StringIO = io.StringIO else: … Read more