Mathew K Analytics

📊 Dataset · CSV

breast_cancer.csv

Free CSV dataset “breast_cancer.csv” (569 rows × 31 columns, 118.5 KB) used in 3 Python lessons, including “Logistic Regression for Classification | ML…

Preview (first rows)

mean radiusmean texturemean perimetermean areamean smoothnessmean compactnessmean concavitymean concave pointsmean symmetrymean fractal dimensionradius errortexture error
17.9910.38122.81001.00.11840.27760.30010.14710.24190.078711.0950.9053
20.5717.77132.91326.00.084740.078640.08690.070170.18120.056670.54350.7339
19.6921.25130.01203.00.10960.15990.19740.12790.20690.059990.74560.7869
11.4220.3877.58386.10.14250.28390.24140.10520.25970.097440.49561.156
20.2914.34135.11297.00.10030.13280.1980.10430.18090.058830.75720.7813
12.4515.782.57477.10.12780.170.15780.080890.20870.076130.33450.8902
18.2519.98119.61040.00.094630.1090.11270.0740.17940.057420.44670.7732
13.7120.8390.2577.90.11890.16450.093660.059850.21960.074510.58351.377

+ 19 more columns

Columns

ColumnTypeMissingExample
mean radiusdecimal017.99
mean texturedecimal010.38
mean perimeterdecimal0122.8
mean areadecimal01001.0
mean smoothnessdecimal00.1184
mean compactnessdecimal00.2776
mean concavitydecimal00.3001
mean concave pointsdecimal00.1471
mean symmetrydecimal00.2419
mean fractal dimensiondecimal00.07871
radius errordecimal01.095
texture errordecimal00.9053
perimeter errordecimal08.589
area errordecimal0153.4
smoothness errordecimal00.006399
compactness errordecimal00.04904
concavity errordecimal00.05373
concave points errordecimal00.01587
symmetry errordecimal00.03003
fractal dimension errordecimal00.006193
worst radiusdecimal025.38
worst texturedecimal017.33
worst perimeterdecimal0184.6
worst areadecimal02019.0
worst smoothnessdecimal00.1622
worst compactnessdecimal00.6656
worst concavitydecimal00.7119
worst concave pointsdecimal00.2654
worst symmetrydecimal00.4601
worst fractal dimensiondecimal00.1189
targetinteger00

Load it in Python

import pandas as pd
df = pd.read_csv("breast_cancer.csv")
df.head()