Hi @AyushExel,
Thank you for sharing your question with the community!
Can you please share your code snippet? You can also use st.table
and use CSS to customize the table size as such:
import streamlit as st
import pandas as pd
data = {
'Images': ['πΆ', 'π±', 'π¦', 'π»'],
'Names': ['Dog', 'Cat', 'Fox', 'Bear']
}
df = pd.DataFrame(data)
st.markdown("""
<style>
.stTable tr {
height: 50px; # use this to adjust the height
}
</style>
""", unsafe_allow_html=True)
st.table(df)
Also, as a reminder, please check out our guidelines on how to post an effective question here and update your post to help the community answer your question.