我有一个文件'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())