Update
Browse files
app.py
CHANGED
|
@@ -70,10 +70,10 @@ else:
|
|
| 70 |
st.dataframe(
|
| 71 |
df,
|
| 72 |
column_config={
|
| 73 |
-
"problem_id": st.column_config.NumberColumn("Problem ID"),
|
| 74 |
-
"difficulty": st.column_config.TextColumn("Difficulty"),
|
| 75 |
"acceptance_rate": st.column_config.LineChartColumn("Acceptance Rate", y_min=0, y_max=100),
|
| 76 |
-
"problem_link": st.column_config.LinkColumn("Link", display_text="Open"),
|
| 77 |
},
|
| 78 |
height=800,
|
| 79 |
column_order=("problem_id", "acceptance_rate", "problem_link"),
|
|
|
|
| 70 |
st.dataframe(
|
| 71 |
df,
|
| 72 |
column_config={
|
| 73 |
+
"problem_id": st.column_config.NumberColumn("Problem ID", width='small'),
|
| 74 |
+
"difficulty": st.column_config.TextColumn("Difficulty", width='small'),
|
| 75 |
"acceptance_rate": st.column_config.LineChartColumn("Acceptance Rate", y_min=0, y_max=100),
|
| 76 |
+
"problem_link": st.column_config.LinkColumn("Link", display_text="Open", width='small'),
|
| 77 |
},
|
| 78 |
height=800,
|
| 79 |
column_order=("problem_id", "acceptance_rate", "problem_link"),
|