From c2f1f5d7941ee42a42646f4ad72b841ee15c393c Mon Sep 17 00:00:00 2001 From: Alejandro Rosales Date: Mon, 5 Aug 2024 11:26:58 -0600 Subject: [PATCH] Actualizar para imprimir el dataframe Actualizar dataframe --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index a5706ec..6d94fad 100644 --- a/app.py +++ b/app.py @@ -111,6 +111,7 @@ def extract(username: str, password: str): df = pd.read_html(historial_html_io)[0] if 'GRUPO' not in df.columns: + print(df.to_markdown(), file=sys.stderr) raise KeyError("Column 'GRUPO' not found in the DataFrame") # Convert the DataFrame to JSON