Mathew K Analytics

📊 Dataset · CSV

gapminder.csv dataset

Download gapminder.csv free (1,704 rows × 6 columns, 80.2 KB). Preview the rows and columns, load it in pandas in one line and practise with 3 Python lessons.

Preview (first rows)

countryyearpopcontinentlifeExpgdpPercap
Afghanistan19528425333.0Asia28.801779.4453145
Afghanistan19579240934.0Asia30.332820.8530296
Afghanistan196210267083.0Asia31.997853.10071
Afghanistan196711537966.0Asia34.02836.1971382
Afghanistan197213079460.0Asia36.088739.9811058
Afghanistan197714880372.0Asia38.438786.11336
Afghanistan198212881816.0Asia39.854978.0114388
Afghanistan198713867957.0Asia40.822852.3959448

Columns

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

Load it in Python

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