Reputation: 27
I have a table below in streamlit.
COLUMN1 | COLUMN2 |
---|---|
aaaaaaaaaaaaaa | b |
I wanted to reduce the column width of column1.
Upvotes: 1
Views: 18834
Reputation: 1234
This is an open feature request on Streamlit you can see the issue in their github Ability to set dataframe column width #371
A workaround is to use a component for displaying Dataframes called streamlit-aggrid. Column width can be manually configured by dragging the column header on the front end.
Upvotes: 2