Skip to main content

A copy of R's gapminder teaching dataset.

Project description

gapminder

This is a Python version of Jennifer Bryan's excellent gapminder teaching package for R.

Installation

pip install gapminder

Usage

This package contains only one object, a Pandas DataFrame named gapminder.

from gapminder import gapminder
gapminder.head()
       country continent  year  lifeExp       pop   gdpPercap
0  Afghanistan      Asia  1952   28.801   8425333  779.445314
1  Afghanistan      Asia  1957   30.332   9240934  820.853030
2  Afghanistan      Asia  1962   31.997  10267083  853.100710
3  Afghanistan      Asia  1967   34.020  11537966  836.197138
4  Afghanistan      Asia  1972   36.088  13079460  739.981106

Use it. Abuse it. It's a great dataset for teaching, which is why I'm re-hosting it as a Python package.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gapminder, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size gapminder-0.1-py3-none-any.whl (32.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gapminder-0.1.tar.gz (33.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page