我正在尝试使用pandas来操作.csv文件,但是我收到此错误:
Pandas. Parser. CParserError: an error occurred when tag data.C error: line 3 is expected to have 2 fields, as shown in figure 12
我曾尝试阅读pandas文档,但一无所获。
我的代码很简单:
path = 'GOOG Key Ratios.csv'
#print(open(path).read())
data = pd.read_csv(path)
我该如何解决这个问题?我应该使用该csv模块还是其他语言?