📊 Dataset · CSV
pima_diabetes.csv dataset
Download pima_diabetes.csv free (768 rows × 9 columns, 22.7 KB). Preview the rows and columns, load it in pandas in one line and practise with 3 Python…
- Size22.7 KB
- Rows768
- Columns9
- Used in3 lessons
Preview (first rows)
| pregnancies | glucose | blood_pressure | skin_thickness | insulin | bmi | diabetes_pedigree | age | outcome |
|---|---|---|---|---|---|---|---|---|
| 6 | 148 | 72 | 35 | 0 | 33.6 | 0.627 | 50 | 1 |
| 1 | 85 | 66 | 29 | 0 | 26.6 | 0.351 | 31 | 0 |
| 8 | 183 | 64 | 0 | 0 | 23.3 | 0.672 | 32 | 1 |
| 1 | 89 | 66 | 23 | 94 | 28.1 | 0.167 | 21 | 0 |
| 0 | 137 | 40 | 35 | 168 | 43.1 | 2.288 | 33 | 1 |
| 5 | 116 | 74 | 0 | 0 | 25.6 | 0.201 | 30 | 0 |
| 3 | 78 | 50 | 32 | 88 | 31.0 | 0.248 | 26 | 1 |
| 10 | 115 | 0 | 0 | 0 | 35.3 | 0.134 | 29 | 0 |
Columns
| Column | Type | Missing | Example |
|---|---|---|---|
pregnancies | integer | 0 | 6 |
glucose | integer | 0 | 148 |
blood_pressure | integer | 0 | 72 |
skin_thickness | integer | 0 | 35 |
insulin | integer | 0 | 0 |
bmi | decimal | 0 | 33.6 |
diabetes_pedigree | decimal | 0 | 0.627 |
age | integer | 0 | 50 |
outcome | integer | 0 | 1 |
Load it in Python
import pandas as pd
df = pd.read_csv("pima_diabetes.csv")
df.head()


