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
[Parc de motocycles par caractéristiques techniques et émissions](https://www.pxweb.bfs.admin.ch/pxweb/fr/px-x-1103020100_165/-/px-x-1103020100_165.px/)
[Bilan démographique selon l’âge et le canton](https://www.pxweb.bfs.admin.ch/pxweb/fr/px-x-0102020000_104/-/px-x-0102020000_104.px/)
## Our World in Data
Select a publication.
Click Download.
Click Full data (CSV).
Use:
… see it on GitHub
### Interesting sources
[GDP, 1820 to 2018](https://ourworldindata.org/grapher/gdp-world-regions-stacked-area)
[Population, 1800 to 2021](https://ourworldindata.org/grapher/population-since-1800)
## World Bank
Open https://data.worldbank.org/
Find a chart
In Download click CSV
Use:
… see it on GitHub
### Interesting sources
[GDP (current US$)](https://data.worldbank.org/indicator/NY.GDP.MKTP.CD)
[GDP (constant 2015 US$)](https://data.worldbank.org/indicator/NY.GDP.MKTP.KD)
## 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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e97399175226098c94a442d2f384f383781db2a8b84d7a9969a07f44699e5c06 |
|
MD5 | 77e9d6a81022397eb70433298b64b699 |
|
BLAKE2b-256 | f5366abf1d406e490f9fa6f2d87168e54d48e0f8245b6173def8467cf6116e3b |