title: Python 3 Pandas Error: pandas.parser.CParserError: Error tokenizing data. C error: Expected 11 fields in line 5, saw 13
body: <p>I checked out this answer as I am having a similar problem.</p>
  
  <p><a href="https://stackoverflow.com/questions/18039057/python-pandas-error-tokenizing-data">Python Pandas Error tokenizing data</a></p>
  
  <p>However, for some reason ALL of my rows are being skipped.</p>
  
  <p>My code is simple:</p>
  
  <pre><code>import pandas as pd
  
  fname = "data.csv"
  input_data = pd.read_csv(fname) 
  </code></pre>
  
  <p>and the error I get is:</p>
  
  <pre><code>  File "preprocessing.py", line 8, in &lt;module&gt;
      input_data = pd.read_csv(fname) #raw data file ---&gt; pandas.core.frame.DataFrame type
    File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 465, in parser_f
      return _read(filepath_or_buffer, kwds)
    File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 251, in _read
      return parser.read()
    File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 710, in read
      ret = self._engine.read(nrows)
    File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/io/parsers.py", line 1154, in read
      data = self._reader.read(nrows)
    File "pandas/parser.pyx", line 754, in pandas.parser.TextReader.read (pandas/parser.c:7391)
    File "pandas/parser.pyx", line 776, in pandas.parser.TextReader._read_low_memory (pandas/parser.c:7631)
    File "pandas/parser.pyx", line 829, in pandas.parser.TextReader._read_rows (pandas/parser.c:8253)
    File "pandas/parser.pyx", line 816, in pandas.parser.TextReader._tokenize_rows (pandas/parser.c:8127)
    File "pandas/parser.pyx", line 1728, in pandas.parser.raise_parser_error (pandas/parser.c:20357)
  pandas.parser.CParserError: Error tokenizing data. C error: Expected 11 fields in line 5, saw 13
  </code></pre>