Skip to main content

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.

Metadata

Release files for gapminder 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gapminder 0.1
File Size Uploaded
gapminder-0.1.tar.gz 33.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gapminder 0.1
File Interpreter ABI Platform
gapminder-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 66.3 kB

Release files / gapminder-0.1.tar.gz

Download URL gapminder-0.1.tar.gz
Size 33.5 kB
Tags Source
SHA-256 checksum
How to use checksums
48b14c0884ab5d1585a14e6223fa99a611c02c76ef2f2cfb9959e14de19cf95c
BLAKE2b-256 checksum
How to use checksums
a34aad3c8365c1bedbf4b4d7f1b25a5a236f7cd8b3f0f11c6ea3ad09de8fbd13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gapminder-0.1-py3-none-any.whl

Download URL gapminder-0.1-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7e43465befe4c56ea89ce7ca03d707bcc2d6b44e5f3c90b5ecb453c1f6898f50
BLAKE2b-256 checksum
How to use checksums
858357293b277ac2990ea1d3d0439183da8a3466be58174f822c69b02e584863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page