Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def upload_to_google_sheets(excel_file, spreadsheet_id, delay):
|
|
| 42 |
logs.append(f"Error reading the Excel file: {e}")
|
| 43 |
return "\n".join(logs)
|
| 44 |
|
| 45 |
-
df = df.replace([float('inf'), float('-inf')], None).where(pd.notnull(df), None)
|
| 46 |
|
| 47 |
for index, row in df.iterrows():
|
| 48 |
if stop_flag:
|
|
|
|
| 42 |
logs.append(f"Error reading the Excel file: {e}")
|
| 43 |
return "\n".join(logs)
|
| 44 |
|
| 45 |
+
#df = df.replace([float('inf'), float('-inf')], None).where(pd.notnull(df), None)
|
| 46 |
|
| 47 |
for index, row in df.iterrows():
|
| 48 |
if stop_flag:
|