Skip to content

Commit

Permalink
Update streamlit_app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
soodoku authored Oct 23, 2023
1 parent 9900bed commit 49628b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamlit/streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def app():
fname_col = st.selectbox("Select column with first name", df.columns)
function = sidebar_options[selected_function]
if st.button('Run'):
transformed_df = function(df["fname_col"])
transformed_df = function(df[fname_col])
st.dataframe(transformed_df)
download_file(transformed_df)

Expand Down

0 comments on commit 49628b1

Please sign in to comment.