code_1.py 232 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2 3 4 5 6
import pandas as pd # 导入Pandas
import numpy as np # 导入Num Py
dir = '../input/product-comments/'
dir_train = dir+'Clothing Reviews.csv'
df_train = pd.read_csv(dir_train) # 读入训练集
df_train.head() # 输出部分数据