Mathew K Analytics

📊 Dataset · CSV

diabetes.csv dataset

Download diabetes.csv free (442 rows × 11 columns, 92.9 KB). Preview the rows and columns, load it in pandas in one line and practise with 1 Python lesson.

Preview (first rows)

agesexbmibps1s2s3s4s5s6target
0.0380759064334230260.050680118739818620.0616962065186832940.0218723855140367-0.04422349842444599-0.03482076283769895-0.04340084565202491-0.0025922619981832780.019907486170462722-0.01764612515980379151.0
-0.0018820165277906047-0.044641636506989144-0.051474061238800654-0.02632752814785296-0.008448724111216851-0.0191633397482222040.07441156407875721-0.03949338287409329-0.0683315470939731-0.09220404962682475.0
0.085298906296675480.050680118739818620.04445121333659049-0.00567042229275739-0.04559945128264711-0.03419446591411989-0.03235593223976409-0.0025922619981832780.002861309289833047-0.025930338989472702141.0
-0.0890629393522567-0.044641636506989144-0.011595014505211082-0.036656081075400740.012190568761799960.02499059336410222-0.0360375700438510250.034308858877726730.022687744966501246-0.009361911330134878206.0
0.005383060374248237-0.044641636506989144-0.036384692204469480.02187238551403670.0039348516125932370.0155961395104161710.008142083605192267-0.002592261998183278-0.03198763948805312-0.04664087356364498135.0
-0.09269547780327612-0.044641636506989144-0.040695940499992665-0.019441826196154435-0.06899064987206617-0.079287844411812910.04127682384197474-0.0763945037500033-0.041176166918895155-0.0963461565416584697.0
-0.0454724779400236460.05068011873981862-0.047162812943277475-0.015998975220305175-0.04009563984984263-0.024800012060433850.0007788079970183853-0.03949338287409329-0.06291687914365544-0.03835665973397607138.0
0.063503675590558970.05068011873981862-0.00189470584028390080.06662944820007710.090619881679263850.108914381123697570.0228686348215400330.01770335448356722-0.03581619258423730.003064409414368488463.0

Columns

ColumnTypeMissingExample
agedecimal00.038075906433423026
sexdecimal00.05068011873981862
bmidecimal00.061696206518683294
bpdecimal00.0218723855140367
s1decimal0-0.04422349842444599
s2decimal0-0.03482076283769895
s3decimal0-0.04340084565202491
s4decimal0-0.002592261998183278
s5decimal00.019907486170462722
s6decimal0-0.01764612515980379
targetdecimal0151.0

Load it in Python

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