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

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
gapminder-0.1-py3-none-any.whl (32.9 kB) Copy SHA256 hash SHA256 Wheel py3
gapminder-0.1.tar.gz (33.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page