CarisMu commited on
Commit
fd97929
1 Parent(s): 98ad4de

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -5
main.py CHANGED
@@ -289,9 +289,9 @@ dataset_comparison1 = pd.DataFrame(
289
 
290
  # Apply table styling: Light green for the header, alternating white and light grey for rows
291
  styled_table = dataset_comparison1.style.set_properties(
292
- **{'background-color': rgb(234, 255, 241)}, subset=pd.IndexSlice[0,:]
293
  ).apply(
294
- lambda x: ['background-color: white' if i % 2 == 0 else 'background-color: rgb(237, 242, 251)' for i in range(len(x))],
295
  axis=0
296
  )
297
  styled_table
@@ -375,9 +375,9 @@ dataset_comparison2 = pd.DataFrame(
375
  )
376
  # Apply table styling: Light green for the header, alternating white and light grey for rows
377
  styled_table = dataset_comparison2.style.set_properties(
378
- **{'background-color': rgb(234, 255, 241)}, subset=pd.IndexSlice[0,:]
379
  ).apply(
380
- lambda x: ['background-color: white' if i % 2 == 0 else 'background-color: rgb(237, 242, 251)' for i in range(len(x))],
381
  axis=0
382
  )
383
  styled_table
@@ -442,7 +442,7 @@ dataset_sources = pd.DataFrame(
442
  )
443
  # Apply table styling: Light green for the header, alternating white and light grey for rows
444
  styled_table = dataset_comparison1.style.apply(
445
- lambda x: ['background-color: white' if i % 2 == 0 else 'background-color: rgb(237, 242, 251)' for i in range(len(x))],
446
  axis=0
447
  )
448
  styled_table
 
289
 
290
  # Apply table styling: Light green for the header, alternating white and light grey for rows
291
  styled_table = dataset_comparison1.style.set_properties(
292
+ **{'background-color': 'rgb(234, 255, 241)'}, subset=pd.IndexSlice[0,:]
293
  ).apply(
294
+ lambda x: ['background-color: white' if i % 2 == 0 else 'background-color': 'rgb(237, 242, 251)' for i in range(len(x))],
295
  axis=0
296
  )
297
  styled_table
 
375
  )
376
  # Apply table styling: Light green for the header, alternating white and light grey for rows
377
  styled_table = dataset_comparison2.style.set_properties(
378
+ **{'background-color': 'rgb(234, 255, 241)'}, subset=pd.IndexSlice[0,:]
379
  ).apply(
380
+ lambda x: ['background-color: white' if i % 2 == 0 else 'background-color': 'rgb(237, 242, 251)' for i in range(len(x))],
381
  axis=0
382
  )
383
  styled_table
 
442
  )
443
  # Apply table styling: Light green for the header, alternating white and light grey for rows
444
  styled_table = dataset_comparison1.style.apply(
445
+ lambda x: ['background-color: white' if i % 2 == 0 else 'background-color': 'rgb(237, 242, 251)' for i in range(len(x))],
446
  axis=0
447
  )
448
  styled_table