1 从本地导入数据集
import pandas as pd
data = pd.read_csv(r'C:\Users\hzjy\Desktop\data.csv')
2 从网站上导入数据集
import panda as pd
breast_cancer_data =pd.read_csv('http://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/breast-cancer-wisconsin.data',header=None
,names = ['C_D','C_T','U_C_Si','U_C_Sh','M_A','S_E_C_S'
,'B_N','B_C','N_N','M','Class'])