CarisMu commited on
Commit
68c89d0
1 Parent(s): ae7225f

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -291,7 +291,7 @@ dataset_comparison1 = pd.DataFrame(
291
  styled_table = dataset_comparison1.style.set_properties(
292
  **{'background-color': '#E1EEDB'}, subset=pd.IndexSlice[0,:] # Row 0 with a light green background
293
  ).apply(
294
- lambda x: ['background-color: #E1EEDB' if i == 0 else ('background-color: white' if i % 2 == 0 else 'background-color: rgb(237, 242, 251)') for i in range(len(x))],
295
  axis=0
296
  ).hide(axis="index") # Hide the row index
297
 
@@ -379,7 +379,7 @@ dataset_comparison2 = pd.DataFrame(
379
  styled_table = dataset_comparison2.style.set_properties(
380
  **{'background-color': '#E1EEDB'}, subset=pd.IndexSlice[0,:] # Row 0 with a light green background
381
  ).apply(
382
- lambda x: ['background-color: #E1EEDB' if i == 0 else ('background-color: white' if i % 2 == 0 else 'background-color: rgb(237, 242, 251)') for i in range(len(x))],
383
  axis=0
384
  ).hide(axis="index") # Hide the row index
385
 
 
291
  styled_table = dataset_comparison1.style.set_properties(
292
  **{'background-color': '#E1EEDB'}, subset=pd.IndexSlice[0,:] # Row 0 with a light green background
293
  ).apply(
294
+ lambda x: ['background-color: #E1EEDB' if i == 0 else ('background-color: rgb(237, 242, 251)' if i % 2 == 0 else 'background-color: white') for i in range(len(x))],
295
  axis=0
296
  ).hide(axis="index") # Hide the row index
297
 
 
379
  styled_table = dataset_comparison2.style.set_properties(
380
  **{'background-color': '#E1EEDB'}, subset=pd.IndexSlice[0,:] # Row 0 with a light green background
381
  ).apply(
382
+ lambda x: ['background-color: #E1EEDB' if i == 0 else ('background-color: rgb(237, 242, 251)' if i % 2 == 0 else 'background-color: white') for i in range(len(x))],
383
  axis=0
384
  ).hide(axis="index") # Hide the row index
385