Spaces:
Sleeping
Sleeping
Henry Zhang
commited on
Commit
·
87e117e
1
Parent(s):
d992596
Update data issue and index
Browse files- app.py +1 -0
- data/filtered_table.xlsx +0 -0
- data/table.xlsx +0 -0
app.py
CHANGED
@@ -107,6 +107,7 @@ if search:
|
|
107 |
else filtered_df
|
108 |
# Reset the index
|
109 |
filtered_df = filtered_df.reset_index(drop=True)
|
|
|
110 |
|
111 |
st.dataframe(
|
112 |
filtered_df[st.session_state.display_columns].head(st.session_state.limit),
|
|
|
107 |
else filtered_df
|
108 |
# Reset the index
|
109 |
filtered_df = filtered_df.reset_index(drop=True)
|
110 |
+
filtered_df.index = range(1, len(filtered_df)+1)
|
111 |
|
112 |
st.dataframe(
|
113 |
filtered_df[st.session_state.display_columns].head(st.session_state.limit),
|
data/filtered_table.xlsx
CHANGED
Binary files a/data/filtered_table.xlsx and b/data/filtered_table.xlsx differ
|
|
data/table.xlsx
CHANGED
Binary files a/data/table.xlsx and b/data/table.xlsx differ
|
|