Spaces:
Sleeping
Sleeping
Update processing.py
Browse files- processing.py +2 -2
processing.py
CHANGED
|
@@ -218,14 +218,14 @@ def data_display():
|
|
| 218 |
|
| 219 |
# col1, col2, col3, col4 = st.columns([0.5,7,2.4,0.5])
|
| 220 |
col1, col2 = st.columns(2)
|
| 221 |
-
with
|
| 222 |
df2 = st.experimental_data_editor(df1, num_rows="dynamic")
|
| 223 |
df2['Size_Course'] = df2['Size_Course'].astype(int)
|
| 224 |
df2['Duration'] = df2['Duration'].astype(int)
|
| 225 |
df2['Group_id'] = np.arange(1, len(df2) + 1)
|
| 226 |
df_prof_filter = df2['Prof_Name'].drop_duplicates().tolist()
|
| 227 |
|
| 228 |
-
with
|
| 229 |
df_room = st.experimental_data_editor(df_room, num_rows="dynamic")
|
| 230 |
df_room['Size_Room'] = df_room['Size_Room'].astype(int)
|
| 231 |
filter = df_room['Room'].to_list()
|
|
|
|
| 218 |
|
| 219 |
# col1, col2, col3, col4 = st.columns([0.5,7,2.4,0.5])
|
| 220 |
col1, col2 = st.columns(2)
|
| 221 |
+
with col1:
|
| 222 |
df2 = st.experimental_data_editor(df1, num_rows="dynamic")
|
| 223 |
df2['Size_Course'] = df2['Size_Course'].astype(int)
|
| 224 |
df2['Duration'] = df2['Duration'].astype(int)
|
| 225 |
df2['Group_id'] = np.arange(1, len(df2) + 1)
|
| 226 |
df_prof_filter = df2['Prof_Name'].drop_duplicates().tolist()
|
| 227 |
|
| 228 |
+
with col2:
|
| 229 |
df_room = st.experimental_data_editor(df_room, num_rows="dynamic")
|
| 230 |
df_room['Size_Room'] = df_room['Size_Room'].astype(int)
|
| 231 |
filter = df_room['Room'].to_list()
|