From e34dca47939ce45ab95511b72ed0400ba873b956 Mon Sep 17 00:00:00 2001 From: Arctusol <73721443+Arctusol@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:50:55 +0100 Subject: [PATCH] adding requirements --- pages/Vue_globale.py | 4 ++-- requirements.txt | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pages/Vue_globale.py b/pages/Vue_globale.py index 0c16f63..a5c3308 100644 --- a/pages/Vue_globale.py +++ b/pages/Vue_globale.py @@ -125,9 +125,9 @@ def calculate_main_metrics(df_nbr_hospi, df_capacite_hospi, selected_sex='Ensemb metrics[f"hospi_{year}"] = total_hospi # Calcul des lits disponibles par année - lits_disponibles = df_capacite_hospi.groupby('year')['total_lit_hospi_complete'].sum().reset_index() + lits_disponibles = df_capacite_hospi.groupby('year')['lit_hospi_complete'].sum().reset_index() for year in range(2018, 2023): - metrics[f"lits_{year}"] = lits_disponibles[lits_disponibles['year'].dt.year == year]['total_lit_hospi_complete'].sum() + metrics[f"lits_{year}"] = lits_disponibles[lits_disponibles['year'].dt.year == year]['lit_hospi_complete'].sum() return metrics diff --git a/requirements.txt b/requirements.txt index 8ac473c..fd382c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,13 +8,12 @@ numpy seaborn db-dtypes pygwalker -langchain_openai langchain langgraph +langchain_openai langchain-community sqlalchemy-bigquery sqlalchemy langchain-experimental e2b -langchain_experimental e2b-code-interpreter \ No newline at end of file