Mathew K Analytics

📊 Dataset · CSV

insurance_raw.csv

Free CSV dataset “insurance_raw.csv” (1,338 rows × 7 columns, 53.0 KB) used in 1 Python lesson, including “Python Data Analytics #33: Real Medical Insurance…

Preview (first rows)

agesexbmichildrensmokerregioncharges
19female27.90yessouthwest16884.924
18male33.771nosoutheast1725.5523
28male33.03nosoutheast4449.462
33male22.7050nonorthwest21984.47061
32male28.880nonorthwest3866.8552
31female25.740nosoutheast3756.6216
46female33.441nosoutheast8240.5896
37female27.743nonorthwest7281.5056

Columns

ColumnTypeMissingExample
ageinteger019
sextext0female
bmidecimal027.9
childreninteger00
smokertext0yes
regiontext0southwest
chargesdecimal016884.924

Load it in Python

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