Spaces:
Sleeping
Sleeping
Pragya Jatav
commited on
Commit
·
e20fee6
1
Parent(s):
927d8dc
version changes
Browse files
pages/3_Saved_Scenarios.py
CHANGED
|
@@ -182,7 +182,7 @@ def summary_df_to_worksheet(df, ws):
|
|
| 182 |
for j,header in enumerate(df.columns.values):
|
| 183 |
col = j + 1
|
| 184 |
for i in range(1,3):
|
| 185 |
-
ws.cell(row=i, column=j + 1, value=header[i - 1]).font = Font(bold=True, color='
|
| 186 |
ws.cell(row=i,column=j+1).fill = heading_fill
|
| 187 |
if col > 1 and (col - 6)%5==0:
|
| 188 |
ws.merge_cells(start_row=1, end_row=1, start_column = col-3, end_column=col)
|
|
|
|
| 182 |
for j,header in enumerate(df.columns.values):
|
| 183 |
col = j + 1
|
| 184 |
for i in range(1,3):
|
| 185 |
+
ws.cell(row=i, column=j + 1, value=header[i - 1]).font = Font(bold=True, color='FFFFFFFF')
|
| 186 |
ws.cell(row=i,column=j+1).fill = heading_fill
|
| 187 |
if col > 1 and (col - 6)%5==0:
|
| 188 |
ws.merge_cells(start_row=1, end_row=1, start_column = col-3, end_column=col)
|