Creating Multiple st.metric According to dynamic number of rows and static number of columns

Hi all, I really need a help to figure out the solving of my issue:

from dataframe above, I’d like to create dynamic multiple metrics (st.metric), followed by the rules:

  • Length of rows = length of dataframe (dynamic)
  • Number of columns of each row = 4 (static)

eventually, when length of dataframe grows or shrinks, the number of rows will be dynamically adjusted, yet the number of columns remain the same, to help understand what I really mean, the result I expect should be like this: