Using Pandas to manipulate CSV file which return me this error
<frame not available>
read, parsers.py:2056
read, parsers.py:1052
_read, parsers.py:463
read_csv, parsers.py:605
<module>, similarity.py:58
Running time error
Quote:
X = pd.read_csv(r"D:\Clustering\text-cluster-master\text-cluster-master\Articles.csv", index_col='id') X.head()Debugging errors
<frame not available>
read, parsers.py:2056
read, parsers.py:1052
_read, parsers.py:463
read_csv, parsers.py:605
<module>, similarity.py:58
Running time error
Error:D:\Python3.8.0\Python\python.exe D:/Clustering/text-cluster-master/similarity.py
Traceback (most recent call last):
File "D:/Clustering/text-cluster-master/similarity.py", line 58, in <module>
X = pd.read_csv(r"D:\Clustering\text-cluster-master\text-cluster-master\Articles.csv", index_col='id')
File "D:\Python3.8.0\Python\lib\site-packages\pandas\io\parsers.py", line 605, in read_csv
return _read(filepath_or_buffer, kwds)
File "D:\Python3.8.0\Python\lib\site-packages\pandas\io\parsers.py", line 463, in _read
return parser.read(nrows)
File "D:\Python3.8.0\Python\lib\site-packages\pandas\io\parsers.py", line 1052, in read
index, columns, col_dict = self._engine.read(nrows)
File "D:\Python3.8.0\Python\lib\site-packages\pandas\io\parsers.py", line 2056, in read
data = self._reader.read(nrows)
File "pandas\_libs\parsers.pyx", line 756, in pandas._libs.parsers.TextReader.read
File "pandas\_libs\parsers.pyx", line 771, in pandas._libs.parsers.TextReader._read_low_memory
File "pandas\_libs\parsers.pyx", line 827, in pandas._libs.parsers.TextReader._read_rows
File "pandas\_libs\parsers.pyx", line 814, in pandas._libs.parsers.TextReader._tokenize_rows
File "pandas\_libs\parsers.pyx", line 1951, in pandas._libs.parsers.raise_parser_error
pandas.errors.ParserError: Error tokenizing data. C error: Expected 9 fields in line 4, saw 10