Hi Community, I have created an app where based on certain inputs from a user, the app renders two pandas dataframe in two seperate columns with one of the input parameters being use_container_width = True
As and when I try and play around with the number of rows in the dataframe, the app starts acting jittery, I am not sure what might be causing this, if I set the container width to False, the issue is not there but I don’t want the page to feel empty.
colA.subheader("Option 1: Bought Home 🏠") colB.subheader("Option 2: Invested in Financial Instruments 💰") home_df = bought_home_df(home_loan_duration, age, home_loan_value, home_loan_interest, rental_yield, rent_inflation, income_tax_bracket, property_value, tax_regime) colA.dataframe(home_df, use_container_width=True, hide_index = True) investment_df = financial_investment_df(home_df, return_on_investments, property_value, home_loan_value, income_tax_bracket, tax_regime) colB.dataframe(investment_df, use_container_width=True, hide_index = True)
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
The code should render both the dataframes properly
See video here
- Streamlit version: 1.25.0
- Python version: 3.11.4
- Using Conda: Yes
- OS version: Latest windows
- Browser version: Brave v1.57.57
The app is local at this stage