Spaces:
Runtime error
Runtime error
fix error
Browse files
main.py
CHANGED
|
@@ -497,11 +497,11 @@ new_dataset_comparison1 = pd.DataFrame(
|
|
| 497 |
styled_table = (
|
| 498 |
new_dataset_comparison1.style.applymap(
|
| 499 |
lambda _: "background-color: #E1EEDB", # Green background for col 1
|
| 500 |
-
subset=pd.IndexSlice[:,
|
| 501 |
)
|
| 502 |
.applymap(
|
| 503 |
lambda _: "background-color: white", # White background for all other columns
|
| 504 |
-
subset=pd.IndexSlice[:,
|
| 505 |
)
|
| 506 |
.hide(axis="index") # Hide the row index
|
| 507 |
)
|
|
|
|
| 497 |
styled_table = (
|
| 498 |
new_dataset_comparison1.style.applymap(
|
| 499 |
lambda _: "background-color: #E1EEDB", # Green background for col 1
|
| 500 |
+
subset=pd.IndexSlice[:, "TxT360"]
|
| 501 |
)
|
| 502 |
.applymap(
|
| 503 |
lambda _: "background-color: white", # White background for all other columns
|
| 504 |
+
subset=pd.IndexSlice[:, new_dataset_comparison1.columns.difference(["TxT360"])] # Apply to all columns except "TxT360"
|
| 505 |
)
|
| 506 |
.hide(axis="index") # Hide the row index
|
| 507 |
)
|