I would like to make a Streamlit app which can introduce weights based on columns of my data.
- I have a dataframe
- I would like that the user can introduce the weight he wanted based on a subset of the columns dataframe (he can select the columns he wants to perform the portfolio)
- calculate portfolio which is R = sommeprod(weight, Ri)
How can I make an app to introduce the weight with number of data that can varies.
Thx for your help.