Last active
July 8, 2016 18:13
-
-
Save Stiivi/9349851 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bubbles import Pipeline | |
stores = { | |
"target": {"type": "csv", "path": "."} | |
} | |
p = Pipeline(stores=stores) | |
p.source_object("xls", resource="cpv_2008_ver_2013.xlsx") | |
p.transpose_by("CODE", "country", "label") | |
p.create("target", "cpv_transposed") | |
p.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CODE | country | label | |
---|---|---|---|
03000000-1 | BG | Продукти на земеделието, животновъдството, рибарството, лесовъдството и свързани с тях продукти | |
03000000-1 | CS | Produkty zemědělství, hospodářské produkty, produkty akvakultury, lesnictví a související produkty | |
03000000-1 | DA | Produkter fra landbrug, husdyrbrug, fiskeri og skovbrug samt lignende produkter | |
03000000-1 | DE | Landwirtschaftliche Erzeugnisse des Pflanzenbaus und der Tierhaltung sowie Fischerei-, Forst- und zugehörige Erzeugnisse | |
03000000-1 | EL | Προϊόντα γεωργίας, κτηνοτροφίας, αλιείας, δασοκομίας και συναφή προϊόντα | |
03000000-1 | EN | Agricultural, farming, fishing, forestry and related products | |
03000000-1 | ES | Productos de la agricultura, ganadería, pesca, silvicultura y productos afines | |
03000000-1 | ET | Põllumajandussaadused, loomakasvatus-, kalandus-, metsandus- ja seonduvad tooted | |
03000000-1 | FI | Maa-, karja-, kala- ja metsätaloustuotteet sekä vastaavat tuotteet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment