country_name string | country_iso3 string | partner_name string | partner_iso3 string | year int64 | flow string | trade_value_usd float64 |
|---|---|---|---|---|---|---|
Libya | LBY | Algeria | DZA | 2,007 | imports | 8,787,217 |
Libya | LBY | Austria | AUT | 2,007 | imports | 15,574,797 |
Libya | LBY | Argentina | ARG | 2,007 | imports | 67,613,603 |
Libya | LBY | Australia | AUS | 2,007 | imports | 7,330,468 |
Libya | LBY | Bangladesh | BGD | 2,007 | imports | 608,336 |
Libya | LBY | Bahrain | BHR | 2,007 | imports | 5,417,575 |
Libya | LBY | Belgium | BEL | 2,007 | imports | 64,388,008 |
Libya | LBY | Bolivia (Plurinational State of) | BOL | 2,007 | imports | 58,362 |
Libya | LBY | Bosnia Herzegovina | BIH | 2,007 | imports | 2,739,103 |
Libya | LBY | Brazil | BRA | 2,007 | imports | 125,807,497 |
Libya | LBY | Bulgaria | BGR | 2,007 | imports | 1,682,998 |
Libya | LBY | Canada | CAN | 2,007 | imports | 120,729,025 |
Libya | LBY | Sri Lanka | LKA | 2,007 | imports | 16,492,191 |
Libya | LBY | Chile | CHL | 2,007 | imports | 1,856,785 |
Libya | LBY | Colombia | COL | 2,007 | imports | 1,054,759 |
Libya | LBY | Croatia | HRV | 2,007 | imports | 1,814,105 |
Libya | LBY | Cuba | CUB | 2,007 | imports | 34,925 |
Libya | LBY | Cyprus | CYP | 2,007 | imports | 2,368,682 |
Libya | LBY | Czechia | CZE | 2,007 | imports | 382,360 |
Libya | LBY | China | CHN | 2,007 | imports | 679,127,583 |
Libya | LBY | Denmark | DNK | 2,007 | imports | 4,787,779 |
Libya | LBY | Costa Rica | CRI | 2,007 | imports | 139,039 |
Libya | LBY | Ecuador | ECU | 2,007 | imports | 30,034,036 |
Libya | LBY | El Salvador | SLV | 2,007 | imports | 263,484 |
Libya | LBY | Ethiopia | ETH | 2,007 | imports | 14,715 |
Libya | LBY | Finland | FIN | 2,007 | imports | 5,170,317 |
Libya | LBY | France | FRA | 2,007 | imports | 199,705,266 |
Libya | LBY | Georgia | GEO | 2,007 | imports | 5,381 |
Libya | LBY | Germany | DEU | 2,007 | imports | 400,069,604 |
Libya | LBY | Ghana | GHA | 2,007 | imports | 127,907 |
Libya | LBY | Greece | GRC | 2,007 | imports | 20,673,442 |
Libya | LBY | Hungary | HUN | 2,007 | imports | 27,664,692 |
Libya | LBY | Iceland | ISL | 2,007 | imports | 177,947 |
Libya | LBY | Indonesia | IDN | 2,007 | imports | 13,972,445 |
Libya | LBY | China, Hong Kong SAR | HKG | 2,007 | imports | 2,396,213 |
Libya | LBY | Ireland | IRL | 2,007 | imports | 45,347,082 |
Libya | LBY | Iran | IRN | 2,007 | imports | 2,215,765 |
Libya | LBY | Italy | ITA | 2,007 | imports | 548,386,326 |
Libya | LBY | Côte d'Ivoire | CIV | 2,007 | imports | 29,241 |
Libya | LBY | Japan | JPN | 2,007 | imports | 476,788,620 |
Libya | LBY | Kazakhstan | KAZ | 2,007 | imports | 3,539,813 |
Libya | LBY | Jordan | JOR | 2,007 | imports | 18,174,372 |
Libya | LBY | Rep. of Korea | KOR | 2,007 | imports | 347,731,394 |
Libya | LBY | Kuwait | KWT | 2,007 | imports | 303,576 |
Libya | LBY | Lebanon | LBN | 2,007 | imports | 4,668,890 |
Libya | LBY | Latvia | LVA | 2,007 | imports | 7,503 |
Libya | LBY | Malaysia | MYS | 2,007 | imports | 71,076,771 |
Libya | LBY | Maldives | MDV | 2,007 | imports | 202,602 |
Libya | LBY | Lithuania | LTU | 2,007 | imports | 152,445 |
Libya | LBY | Luxembourg | LUX | 2,007 | imports | 1,741 |
Libya | LBY | Malta | MLT | 2,007 | imports | 27,376,729 |
Libya | LBY | Mexico | MEX | 2,007 | imports | 21,535,426 |
Libya | LBY | Other Asia, nes | S19 | 2,007 | imports | 3,332,479 |
Libya | LBY | Morocco | MAR | 2,007 | imports | 19,974,509 |
Libya | LBY | Oman | OMN | 2,007 | imports | 2,999,192 |
Libya | LBY | Netherlands | NLD | 2,007 | imports | 73,583,691 |
Libya | LBY | New Zealand | NZL | 2,007 | imports | 757,014 |
Libya | LBY | Niger | NER | 2,007 | imports | 2,586 |
Libya | LBY | Nigeria | NGA | 2,007 | imports | 193,578 |
Libya | LBY | Other Europe, nes | E19 | 2,007 | imports | 872,640,648 |
Libya | LBY | Other Africa, nes | F19 | 2,007 | imports | 16,586 |
Libya | LBY | Norway | NOR | 2,007 | imports | 11,177,716 |
Libya | LBY | Philippines | PHL | 2,007 | imports | 300,111 |
Libya | LBY | Poland | POL | 2,007 | imports | 23,054,634 |
Libya | LBY | Pakistan | PAK | 2,007 | imports | 3,037,520 |
Libya | LBY | Peru | PER | 2,007 | imports | 159,599 |
Libya | LBY | Romania | ROU | 2,007 | imports | 4,506,735 |
Libya | LBY | Russian Federation | RUS | 2,007 | imports | 47,567,599 |
Libya | LBY | Portugal | PRT | 2,007 | imports | 5,677,233 |
Libya | LBY | Qatar | QAT | 2,007 | imports | 533,452 |
Libya | LBY | Saudi Arabia | SAU | 2,007 | imports | 33,907,821 |
Libya | LBY | Serbia | SRB | 2,007 | imports | 1,045,242 |
Libya | LBY | India | IND | 2,007 | imports | 82,830,910 |
Libya | LBY | Singapore | SGP | 2,007 | imports | 10,666,475 |
Libya | LBY | Slovakia | SVK | 2,007 | imports | 665,192 |
Libya | LBY | Viet Nam | VNM | 2,007 | imports | 270,166 |
Libya | LBY | Slovenia | SVN | 2,007 | imports | 7,326,186 |
Libya | LBY | South Africa | ZAF | 2,007 | imports | 3,582,151 |
Libya | LBY | Spain | ESP | 2,007 | imports | 80,544,945 |
Libya | LBY | Sudan (...2011) | SDN | 2,007 | imports | 1,536,227 |
Libya | LBY | Sweden | SWE | 2,007 | imports | 42,066,617 |
Libya | LBY | Switzerland | CHE | 2,007 | imports | 133,440,722 |
Libya | LBY | Thailand | THA | 2,007 | imports | 88,189,175 |
Libya | LBY | Togo | TGO | 2,007 | imports | 4,352 |
Libya | LBY | Syria | SYR | 2,007 | imports | 22,030,305 |
Libya | LBY | United Arab Emirates | ARE | 2,007 | imports | 86,591,895 |
Libya | LBY | Tunisia | TUN | 2,007 | imports | 125,949,504 |
Libya | LBY | Ukraine | UKR | 2,007 | imports | 4,312,017 |
Libya | LBY | Türkiye | TUR | 2,007 | imports | 359,335,597 |
Libya | LBY | Egypt | EGY | 2,007 | imports | 459,154,485 |
Libya | LBY | United Kingdom | GBR | 2,007 | imports | 306,716,978 |
Libya | LBY | Yemen | YEM | 2,007 | imports | 680,905 |
Libya | LBY | Zambia | ZMB | 2,007 | imports | 3,415 |
Libya | LBY | Areas, nes | _X | 2,007 | imports | 1 |
Libya | LBY | USA | USA | 2,007 | imports | 426,313,243 |
Libya | LBY | Burkina Faso | BFA | 2,007 | imports | 81,978 |
Libya | LBY | Uruguay | URY | 2,007 | imports | 5,370,174 |
Libya | LBY | Venezuela | VEN | 2,007 | imports | 69,044 |
Libya | LBY | Algeria | DZA | 2,008 | imports | 9,048,177 |
Libya | LBY | Argentina | ARG | 2,008 | imports | 117,785,917 |
Libya — Imports by Trading Partner | Africa (UN Comtrade) | Africa (Electric Sheep Africa metadata inventory)
Size category: n<1K - Formats: parquet - Sector: economics_finance - Engineered by Electric Sheep Africa
TL;DR
This dataset is part of the Electric Sheep Africa catalog on Hugging Face. It is indexed for African data discovery with standardized metadata, loading guidance, provenance notes, and analyst-oriented context.
What This Dataset Covers
Public datasets help analysts inspect structured evidence, build reproducible workflows, and compare patterns across domains.
Dataset context from the existing Hugging Face card: Libya — Imports by Trading Partner | Africa (UN Comtrade) 🌍 790 observations · 1 Africa countries · 2007–2019 · Repackaged by Electric Sheep Africa TL;DR This dataset contains 790 observations of International merchandise trade data across 1 Africa countries, spanning 2007–2019, covering 137 distinct indicators. About the source Source: UN Comtrade Publisher: United Nations Statistics Division (UN Comtrade) License: other Topic: International… See the full description on the dataset page: https://huggingface.co/datasets/electricsheepafrica/africa-comtrade-libya-imports-by-partner.
Dataset Profile
| Field | Value |
|---|---|
| Hugging Face repo | electricsheepafrica/africa-comtrade-libya-imports-by-partner |
| Sector | economics_finance |
| Topic tags | tabular, un-comtrade, international-merchandise-trade, trade, exports-imports, hs, bilateral, time-series |
| Modalities | tabular, text |
| Formats | parquet |
| Size category | n<1K |
| Countries | Libya |
| ISO3 coverage | LBY |
| Last modified on HF | 2026-06-17 15:01:20+00:00 |
| Inventory snapshot | 2026-07-16T16:00:34Z |
How To Read This Dataset
- Start from the repository files and the dataset viewer when available.
- Treat the README context as a fast orientation layer; confirm variable definitions and units in the data files before modeling.
- Use explicit country columns when present. When geography is only implied by the title or source metadata, document that assumption in downstream analysis.
- Preserve missing values until you have a defensible imputation rule.
Usage
from datasets import load_dataset
ds = load_dataset("electricsheepafrica/africa-comtrade-libya-imports-by-partner")
print(ds)
split_name = next(iter(ds))
table = ds[split_name]
print(table.features)
print(table[:3])
Convert To Pandas When Tabular
from datasets import Dataset
first_split = ds[next(iter(ds))]
if isinstance(first_split, Dataset):
df = first_split.to_pandas()
print(df.head())
Data Quality Notes
- This card was standardized from the Electric Sheep Africa Hugging Face metadata inventory.
- Exact schema, row counts, and source files should be inspected in the repository data files.
- Metadata gaps from the inventory: upstream_publisher.
- Do not infer policy meaning from labels alone; confirm definitions, units, and methods in the source material.
Source And Provenance
- Source context: Electric Sheep Africa metadata inventory
- Publisher/source attribution: Public dataset metadata
- License: Source-specific or other license
- Hugging Face URL: https://huggingface.co/datasets/electricsheepafrica/africa-comtrade-libya-imports-by-partner
- Inventory retrieved at:
2026-07-16T16:00:34Z
Suggested Analyses
- Inspect schema and missingness before modeling.
- Profile variables by geography, time, and subgroup columns where present.
- Join with other Electric Sheep Africa datasets using explicit country, year, and indicator fields when available.
- Build reproducible notebooks that cite both the original source context and the Electric Sheep Africa Hugging Face repo.
Citation
@misc{electric_sheep_africa_africa_comtrade_libya_imports_by_partner_2026,
title = {Libya — Imports by Trading Partner | Africa (UN Comtrade) | Africa (Electric Sheep Africa metadata inventory)},
author = {Public dataset metadata},
year = {2026},
url = {https://huggingface.co/datasets/electricsheepafrica/africa-comtrade-libya-imports-by-partner},
publisher = {Hugging Face Datasets, engineered by Electric Sheep Africa},
howpublished = {\url{https://huggingface.co/datasets/electricsheepafrica/africa-comtrade-libya-imports-by-partner}}
}
License
Released under Source-specific or other license.
Original source rights remain with the original publisher or data provider. Electric Sheep Africa engineering standardizes discovery metadata, documentation, and usage guidance for analysis on Hugging Face.
About Electric Sheep Africa
Electric Sheep Africa publishes ML-ready African public datasets on Hugging Face.
Provenance: metadata-backed README standardized 2026-08-12 by the Electric Sheep Africa README system. Inventory source: catalog/esa_metadata_inventory/master_metadata.jsonl.
- Downloads last month
- 18