{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "65f8e86024294a6794a4bb3550623b8a", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Downloading readme: 0%| | 0.00/537 [00:00, ?B/s]" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "0ee2de5bf53248d8a4079029a9504bdb", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Downloading data: 0%| | 0.00/4.79G [00:00, ?B/s]" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "74c255d685774394927b0aa2baddff72", "version_major": 2, "version_minor": 0 }, "text/plain": [ "Generating train split: 0 examples [00:00, ? examples/s]" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "from datasets import load_dataset\n", "\n", "ds = load_dataset(\"do-me/Eurovoc_en\")\n", "df = ds[\"train\"].to_pandas()\n", "df" ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | title | \n", "date | \n", "eurovoc_concepts | \n", "url | \n", "lang | \n", "formats | \n", "text | \n", "__index_level_0__ | \n", "
---|---|---|---|---|---|---|---|---|
0 | \n", "96/493/EC: Council Decision of 29 March 1996 c... | \n", "1996-03-29 | \n", "[UNO, forest conservation, international agree... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[fmx4, html, pdfa1b, print, xhtml] | \n", "L_1996208EN. 01000101. xml 17. 8. 1996 EN O... | \n", "29 | \n", "
1 | \n", "Proposal for a COUNCIL AND COMMISSION DECISION... | \n", "1996-03-29 | \n", "[Ukraine, accession to the European Union, coo... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", "COMMISSION OI l l ll I UKOIM AN COMMUNIMI S Br... | \n", "48 | \n", "
2 | \n", "Proposal for a COUNCIL AND COMMISSION DECISION... | \n", "1996-03-29 | \n", "[EU relations, Moldova, accession to the Europ... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", ", * ir ; COMMISSION OF THE EUROPEAN COMMUNITIE... | \n", "54 | \n", "
3 | \n", "Amended proposal for a COUNCIL REGULATION (EC)... | \n", "1996-03-28 | \n", "[Antarctic Ocean, authorised catch, conservati... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[html, pdf, pdfa1b, print] | \n", "COMMISSION OF THE bUROPEAN COMMUNITIES Brussel... | \n", "73 | \n", "
4 | \n", "Proposal for a COUNCIL DIRECTIVE amending Dire... | \n", "1996-03-27 | \n", "[case law (EU), gender equality, job access, p... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[html, pdf, pdfa1b, print] | \n", "COMMISSION OF THE EUROPEAN COMMUNITIES Brussel... | \n", "108 | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
352006 | \n", "Non-opposition to a notified concentration (Ca... | \n", "2023-12-04 | \n", "[India, economic concentration, electric vehic... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[fmx4, pdfa2a, xhtml] | \n", "C_202301503EN. 000101. fmx. xml Official Journ... | \n", "21936 | \n", "
352007 | \n", "REPORT - on the proposal for a regulation of t... | \n", "2023-12-04 | \n", "[EU statistics, European Statistical System, d... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[URI] | \n", "None | \n", "21940 | \n", "
352008 | \n", "Steps in the asylum procedure. | \n", "2023-12-02 | \n", "[asylum seeker, external border of the EU, imm... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf, pdfx4, print] | \n", "Steps in the asylum procedure Arrival 1 Applyi... | \n", "21945 | \n", "
352009 | \n", "Do you need support? : | \n", "2023-12-02 | \n", "[aid to refugees, asylum seeker, external bord... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", "Do you need support? lleuaa EUROPEAN UNION AGE... | \n", "21946 | \n", "
352010 | \n", "Do you fear for your safety in your country? :... | \n", "2023-12-02 | \n", "[aid to refugees, asylum seeker, external bord... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf, pdfx4, print] | \n", "Do you fear for your safety in your country? T... | \n", "21947 | \n", "
352011 rows × 8 columns
\n", "\n", " | title | \n", "date | \n", "eurovoc_concepts | \n", "url | \n", "lang | \n", "formats | \n", "text | \n", "embeddings | \n", "cos_sim | \n", "
---|---|---|---|---|---|---|---|---|---|
295413 | \n", "10 trends shaping democracy in a volatile world. | \n", "2019-11-21 | \n", "[democracy, digital technology, election, popu... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", "31 October 2019 10 TRENDS SHAPING DEMOCRACY IN... | \n", "[-0.7749167680740356, 5.183741569519043, -4.15... | \n", "0.497865 | \n", "
351006 | \n", "Defence of democracy. | \n", "2023-12-20 | \n", "[action programme, civic engagement, democracy... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", "Defence of Democracy #EUDemocracy 12 December ... | \n", "[-0.4795585572719574, 6.859988212585449, -5.87... | \n", "0.451415 | \n", "
314572 | \n", "EU citizenship report 2020 : factsheet. | \n", "2021-04-20 | \n", "[European citizenship, European election, acce... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", "EU Citizenship Report 2020 F A C T S H E E T 1... | \n", "[-0.9046934247016907, 5.682852745056152, -4.97... | \n", "0.432170 | \n", "
286936 | \n", "Opinion of the European Economic and Social Co... | \n", "2019-03-20 | \n", "[Liberalism, civil society, democracy, extremi... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[fmx4, pdfa2a, xhtml] | \n", "C_2019228EN. 01002401. xml 5. 7. 2019 EN Of... | \n", "[-0.5640900135040283, 3.6944658756256104, -4.5... | \n", "0.420833 | \n", "
330997 | \n", "Making participatory and deliberative democrac... | \n", "2022-06-16 | \n", "[EU research policy, green economy, innovation... | \n", "http://publications.europa.eu/resource/cellar/... | \n", "eng | \n", "[pdf] | \n", "#HorizonEU June 2022 MAKING PARTICIPATORY AND ... | \n", "[-0.27760544419288635, 5.397331237792969, -5.9... | \n", "0.419882 | \n", "