进行数据读取:表格数据SVC
1.使用SCV模块
import csv csv_reader = csv.reader(open("fileName.csv")) for row in csv_reader: print row
2.
import pandas as pd
data = pd.read_csv("fileName.csv")
print data
data = pd.read_table("fileName.csv",sep=",")
print data
进行数据读取:表格数据SVC
1.使用SCV模块
import csv csv_reader = csv.reader(open("fileName.csv")) for row in csv_reader: print row
2.
import pandas as pd
data = pd.read_csv("fileName.csv")
print data
data = pd.read_table("fileName.csv",sep=",")
print data