Skip to main content

Convert some data into Panda DataFrames

Project description

# Convert some data into Panda DataFrames

## British Petroleum (BP)

It parse sheet like Primary Energy Consumption (not like Primary Energy - Cons by fuel).

Open: http://www.bp.com/statisticalreview or https://www.bp.com/en/global/corporate/energy-economics/statistical-review-of-world-energy.html

Download Statistical Review of World Energy – all data.

Use:

… see it on GitHub

## Swiss Office Federal of Statistics (OFS)

From https://www.bfs.admin.ch/bfs/fr/home/services/recherche/stat-tab-donnees-interactives.html create a stat table.

Click on À propos du tableau

Click on Rendez ce tableau disponible dans votre application

Use:

… see it on GitHub

And replace <URL> and <Requête Json> with the content of the fields of the OFS web page.

### Interesting sources

## Our World in Data

Select a publication.

Click Download.

Click Full data (CSV).

Use:

… see it on GitHub

### Interesting sources

## World Bank

Open https://data.worldbank.org/

Find a chart

In Download click CSV

Use:

… see it on GitHub

### Interesting sources

## Wikidata

By providing the wikidata_* parameters, you can ass some data from WikiData.

Careful, the WikiData is relatively slow then the first time you run it il will be slow. We use a cache to make it fast the next times.

You can also get the country list with population and ISO 2 code with:

… see it on GitHub

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

shifter_pandas-0.1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file shifter_pandas-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shifter_pandas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/30.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/21.8.0 rfc3986/1.5.0 colorama/0.4.3 CPython/3.8.6

File hashes

Hashes for shifter_pandas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e97399175226098c94a442d2f384f383781db2a8b84d7a9969a07f44699e5c06
MD5 77e9d6a81022397eb70433298b64b699
BLAKE2b-256 f5366abf1d406e490f9fa6f2d87168e54d48e0f8245b6173def8467cf6116e3b

See more details on using hashes here.

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