소스 검색

Actualizar para imprimir el dataframe

Actualizar dataframe
Alejandro Rosales 1 년 전
부모
커밋
c2f1f5d794
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app.py

+ 1 - 0
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