Mathew K Analytics

📊 Dataset · CSV

diabetes.csv

Free CSV dataset “diabetes.csv” (442 rows × 11 columns, 92.9 KB) used in 1 Python lesson, including “Gradient Boosting Explained Step by Step | ML…

Preview (first rows)

agesexbmibps1s2s3s4s5s6target
0.0380759064334230.05068011873981860.06169620651868320.0218723855140367-0.0442234984244459-0.0348207628376989-0.0434008456520249-0.00259226199818320.0199074861704627-0.0176461251598037151.0
-0.0018820165277906-0.0446416365069891-0.0514740612388006-0.0263275281478529-0.0084487241112168-0.01916333974822220.0744115640787572-0.0394933828740932-0.0683315470939731-0.09220404962682475.0
0.08529890629667540.05068011873981860.0444512133365904-0.0056704222927573-0.0455994512826471-0.0341944659141198-0.032355932239764-0.00259226199818320.002861309289833-0.0259303389894727141.0
-0.0890629393522567-0.0446416365069891-0.011595014505211-0.03665608107540070.01219056876179990.0249905933641022-0.0360375700438510.03430885887772670.0226877449665012-0.0093619113301348206.0
0.0053830603742482-0.0446416365069891-0.03638469220446940.02187238551403670.00393485161259320.01559613951041610.0081420836051922-0.0025922619981832-0.0319876394880531-0.0466408735636449135.0
-0.0926954778032761-0.0446416365069891-0.0406959404999926-0.0194418261961544-0.0689906498720661-0.07928784441181290.0412768238419747-0.0763945037500033-0.0411761669188951-0.096346156541658497.0
-0.04547247794002360.0506801187398186-0.0471628129432774-0.0159989752203051-0.0400956398498426-0.02480001206043380.0007788079970183-0.0394933828740932-0.0629168791436554-0.038356659733976138.0
0.06350367559055890.0506801187398186-0.00189470584028390.06662944820007710.09061988167926380.10891438112369750.022868634821540.0177033544835672-0.03581619258423730.003064409414368463.0

Columns

ColumnTypeMissingExample
agedecimal00.038075906433423
sexdecimal00.0506801187398186
bmidecimal00.0616962065186832
bpdecimal00.0218723855140367
s1decimal0-0.0442234984244459
s2decimal0-0.0348207628376989
s3decimal0-0.0434008456520249
s4decimal0-0.0025922619981832
s5decimal00.0199074861704627
s6decimal0-0.0176461251598037
targetdecimal0151.0

Load it in Python

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