96abhishekarora commited on
Commit
5454958
·
verified ·
1 Parent(s): f92246c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -50,7 +50,9 @@ if df1_upload is not None and df2_upload is not None:
50
  columns_df2 = df2.columns.tolist()
51
  selected_columns_df1 = st.multiselect("Select columns from DataFrame 1 to match on:", columns_df1, default=columns_df1[0])
52
  selected_columns_df2 = st.multiselect("Select columns from DataFrame 2 to match on:", columns_df2, default=columns_df2[0])
53
- st.write(selected_columns_df1)
 
 
54
  # Perform merge
55
  if st.button("Merge DataFrames"):
56
  model=lt.LinkTransformer(model_path)
 
50
  columns_df2 = df2.columns.tolist()
51
  selected_columns_df1 = st.multiselect("Select columns from DataFrame 1 to match on:", columns_df1, default=columns_df1[0])
52
  selected_columns_df2 = st.multiselect("Select columns from DataFrame 2 to match on:", columns_df2, default=columns_df2[0])
53
+ selected_columns_df1 = list(selected_columns_df1.values())
54
+ selected_columns_df2 = list(selected_columns_df2.values())
55
+
56
  # Perform merge
57
  if st.button("Merge DataFrames"):
58
  model=lt.LinkTransformer(model_path)