This week I posted a bit different post than my previous posts. Originally I was writing this in stackoverflow.com. However, before I posted my question, I made sure that I have already tried every options that might solve my issue. And it turned out that my last attempt worked! So I declined to post this in stackoverflow.com. Nevertheless, since I thought that I might need to re-look at this workaround in solving the CParseError in Pandas, thus, I decided to post it in my blog.
I would like to read a csv file using Python 3.5 and Pandas 0.18.1.
import pandas as pd
df = pd.read_csv(directory, skiprows=3)
However, I got the following error.
CParserError: Error tokenizing data. C error: EOF inside string starting at line 353996