read_csv以熊猫返回NaN

时间:2018-08-27 08:54:38

标签: python pandas csv

我有一个文件'Orders.csv',可以使用“ cat Orders.csv”看到它包含的内容。

1,BSC,LIMIT_BUY,21460.883625169,0.00000445,0.00023821,0.09528632,1/17/2018 9:08:36 PM,1/17/2018 9:08:36 PM

但是当我导入它时,它会返回

O  Unnamed: 1  Unnamed: 2     ...      Unnamed: 6  Unnamed: 7  Unnamed: 8
0 NaN         NaN         NaN     ...             NaN         NaN         NaN

我正在使用以下代码:

import pandas as pd
data=pd.read_csv('Orders.csv')
print(data.head())

0 个答案:

没有答案