CarisMu commited on
Commit
0383061
1 Parent(s): 3f67a06
Files changed (1) hide show
  1. main.py +2 -2
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[:, 0] # Apply to the first column
501
  )
502
  .applymap(
503
  lambda _: "background-color: white", # White background for all other columns
504
- subset=pd.IndexSlice[:, 1:] # Apply to all columns except the first
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
  )