Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,9 +52,9 @@ def display_table():
|
|
52 |
|
53 |
df=pd.DataFrame(data, columns=['Question', 'Emoji', 'Title', 'Description'])
|
54 |
|
55 |
-
|
56 |
|
57 |
-
edited_df = st.data_editor(df) # robust df editor
|
58 |
#favorite_command = edited_df.loc[edited_df["rating"].idxmax()]["command"]
|
59 |
#st.markdown(f"Your favorite command is **{favorite_command}** π")
|
60 |
|
|
|
52 |
|
53 |
df=pd.DataFrame(data, columns=['Question', 'Emoji', 'Title', 'Description'])
|
54 |
|
55 |
+
st.table(df) # simplest dataframe view
|
56 |
|
57 |
+
#edited_df = st.data_editor(df) # robust df editor
|
58 |
#favorite_command = edited_df.loc[edited_df["rating"].idxmax()]["command"]
|
59 |
#st.markdown(f"Your favorite command is **{favorite_command}** π")
|
60 |
|