halimbahae
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -92,6 +92,10 @@ def main():
|
|
92 |
st.markdown("# Filtered Conferences")
|
93 |
|
94 |
if not filtered_data.empty:
|
|
|
|
|
|
|
|
|
95 |
# Add a selectbox for number of rows to display, including "All"
|
96 |
num_rows = st.sidebar.selectbox("Number of rows to display", ["All", 10, 20, 50])
|
97 |
|
|
|
92 |
st.markdown("# Filtered Conferences")
|
93 |
|
94 |
if not filtered_data.empty:
|
95 |
+
# Select only the specified columns
|
96 |
+
columns_to_display = ['StartTime', 'EndTime', 'SessionTitle', 'SessionDescription', 'TrackName', 'Location', 'Speakers', 'Date']
|
97 |
+
filtered_data = filtered_data[columns_to_display]
|
98 |
+
|
99 |
# Add a selectbox for number of rows to display, including "All"
|
100 |
num_rows = st.sidebar.selectbox("Number of rows to display", ["All", 10, 20, 50])
|
101 |
|