Mathew K Analytics

📊 Dataset · CSV

gapminder_life_expectancy_raw.csv dataset

Download gapminder_life_expectancy_raw.csv free (1,380 rows × 6 columns, 70.2 KB). Preview the rows and columns, load it in pandas in one line and practise…

Preview (first rows)

countryyearpopcontinentlifeExpgdpPercap
Afghanistan1952.08425333.0Asia28.801779.4453145
Afghanistan1957.09240934.0Asia30.332820.8530296
Afghanistan1962.010267083.0Asia31.997853.10071
Afghanistan1967.011537966.0Asia34.02836.1971382
Afghanistan1972.013079460.0Asia36.088739.9811058
Afghanistan1977.014880372.0Asia38.438786.11336
Afghanistan1982.012881816.0Asia39.854978.0114388
Afghanistan1987.013867957.0Asia40.822852.3959448

Columns

ColumnTypeMissingExample
countrytext0Afghanistan
yeardecimal01952.0
popdecimal08425333.0
continenttext0Asia
lifeExpdecimal028.801
gdpPercapdecimal0779.4453145

Load it in Python

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