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.

Source Distribution

gapminder-0.1.tar.gz (33.5 kB view hashes)

Uploaded Source

Built Distribution

gapminder-0.1-py3-none-any.whl (32.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page