Update Order
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ else:
|
|
29 |
)
|
30 |
|
31 |
tab_problem, tab_submission, tab_model = st.tabs(["Problems", "Submissions", "Models"])
|
|
|
32 |
with tab_problem:
|
33 |
-
|
34 |
st.dataframe(
|
35 |
df,
|
36 |
column_config={
|
@@ -38,6 +38,7 @@ else:
|
|
38 |
"dynamic_point": st.column_config.LineChartColumn("Dynamic Point", y_min=0, y_max=5000),
|
39 |
"problem_link": st.column_config.LinkColumn("Link", display_text="Open"),
|
40 |
},
|
|
|
41 |
hide_index=True,
|
42 |
)
|
43 |
|
|
|
29 |
)
|
30 |
|
31 |
tab_problem, tab_submission, tab_model = st.tabs(["Problems", "Submissions", "Models"])
|
32 |
+
|
33 |
with tab_problem:
|
|
|
34 |
st.dataframe(
|
35 |
df,
|
36 |
column_config={
|
|
|
38 |
"dynamic_point": st.column_config.LineChartColumn("Dynamic Point", y_min=0, y_max=5000),
|
39 |
"problem_link": st.column_config.LinkColumn("Link", display_text="Open"),
|
40 |
},
|
41 |
+
column_order=("problem_id", "dynamic_point", "problem_link"),
|
42 |
hide_index=True,
|
43 |
)
|
44 |
|