How can I increase the height of table rows in st.dataframe?

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)

        .stTable tr {
            height: 50px; # use this to adjust the height
""", unsafe_allow_html=True)


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.