Spaces:
Running
Running
update tables
Browse files
common.py
CHANGED
|
@@ -104,6 +104,15 @@ def dedup_pairs_bands():
|
|
| 104 |
}
|
| 105 |
).to_html(index=False, border=0)
|
| 106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
def dup_docs_count_graph():
|
| 109 |
dup_docs_count = {
|
|
@@ -237,7 +246,7 @@ nfc_examples = pd.DataFrame(
|
|
| 237 |
)
|
| 238 |
|
| 239 |
table_html_nfc = nfc_examples.to_html(index=False, border=0)
|
| 240 |
-
table_div_nfc_examples = Div(NotStr(table_html_nfc), style="
|
| 241 |
|
| 242 |
|
| 243 |
dask_algo = """
|
|
@@ -459,7 +468,10 @@ global_div = Div(
|
|
| 459 |
),
|
| 460 |
Section(
|
| 461 |
H3("NFC Examples"),
|
| 462 |
-
|
|
|
|
|
|
|
|
|
|
| 463 |
),
|
| 464 |
Section(H3("Conclusion"), P("NEED TO UPDATE")),
|
| 465 |
)
|
|
|
|
| 104 |
}
|
| 105 |
).to_html(index=False, border=0)
|
| 106 |
|
| 107 |
+
# Get the HTML table
|
| 108 |
+
table_html_data = dedup_pairs_bands()
|
| 109 |
+
|
| 110 |
+
# Wrap the table in a Div for styling
|
| 111 |
+
table_div_data = Div(
|
| 112 |
+
text=table_html_data,
|
| 113 |
+
style="display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; overflow-x: auto;"
|
| 114 |
+
)
|
| 115 |
+
|
| 116 |
|
| 117 |
def dup_docs_count_graph():
|
| 118 |
dup_docs_count = {
|
|
|
|
| 246 |
)
|
| 247 |
|
| 248 |
table_html_nfc = nfc_examples.to_html(index=False, border=0)
|
| 249 |
+
table_div_nfc_examples = Div(NotStr(table_html_nfc), style="display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; overflow-x: auto;")
|
| 250 |
|
| 251 |
|
| 252 |
dask_algo = """
|
|
|
|
| 468 |
),
|
| 469 |
Section(
|
| 470 |
H3("NFC Examples"),
|
| 471 |
+
Div(
|
| 472 |
+
table_div_nfc_examples,
|
| 473 |
+
style="display: flex; justify-content: center; align-items: center; width: 100%; max-width: 100%; height: auto; overflow-x: auto;"
|
| 474 |
+
)
|
| 475 |
),
|
| 476 |
Section(H3("Conclusion"), P("NEED TO UPDATE")),
|
| 477 |
)
|