데이터 받아오기
breast_cancer = pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-databases/breast-cancer-wisconsin/breast-cancer-wisconsin.data', header = None)
위 링크로 접속하면 해당 홈페이지에서 직접 데이터를 수집할 수 있습니다.
breast_cancer.columns = ['id_number', 'Clump_Thickness', 'Unif_Cell_Size', 'Unif_Cell_Shape','Marg_Adhesion',
'Single_Epith_Cell_Size', 'Bare_Nuclei','Bland_Chromatin', 'Normal_Nucleoli', 'Mitoses', 'Class']
breast_cancer.head()
breast_cancer.info()
info : 데이터의 정보를 나타냅니다. (행과 열의 크기, 컬럼명, 컬럼을 구성하는 값의 자료형 등)
'빅데이터전문가양성과정' 카테고리의 다른 글
머신러닝을 이용한 붓꽃 품종 분류 (0) | 2020.11.23 |
---|---|
공공 데이터 활용 (0) | 2020.11.09 |
데이터 분석 (7일차) (1) | 2020.10.26 |
데이터 분석 (6일차) (0) | 2020.10.22 |
데이터 선택 & 슬라이싱 (6일차) (0) | 2020.10.22 |