--- language: - fr tags: - france - data-catalog - data-gouv - metadata - open-data - government - etalab - embeddings pretty_name: Data.gouv.fr Datasets Catalog size_categories: - 10K pip install pyarrow dataset = load_dataset("AgentPublic/data-gouv-datasets-catalog") df = pd.DataFrame(dataset['train']) df["embeddings_bge-m3"] = df["embeddings_bge-m3"].apply(json.loads) ``` Otherwise, if you have already downloaded all parquet files from the `data/data-gouv-datasets-catalog-latest/` folder : ```python import pandas as pd import json # The Pyarrow library must be installed in your Python environment for this example. By doing => pip install pyarrow df = pd.read_parquet(path="data-gouv-datasets-catalog-latest/") # Assuming that all parquet files are located into this folder df["embeddings_bge-m3"] = df["embeddings_bge-m3"].apply(json.loads) ``` You can then use the dataframe as you wish, such as by inserting the data from the dataframe into the vector database of your choice. ## 🐱 GitHub repository : The project MediaTech is open source ! You are free to contribute or see the complete code used to build the dataset by checking the [GitHub repository](https://github.com/etalab-ia/mediatech) ## πŸ“š Source & License ### πŸ”— Source : - [Data.gouv.fr : Catalogue des donnΓ©es de data.gouv.fr](https://www.data.gouv.fr/datasets/catalogue-des-donnees-de-data-gouv-fr/) ### πŸ“„ Licence : **Open License (Etalab)** β€” This dataset is publicly available and can be reused under the conditions of the Etalab open license.