Align data table with horizontal rather than vertical columns

I would like to create a data table with the column names on the left side rather than at the top. Like this

Any suggestions on how to do this? I could create blank col headers and then insert each as a row but I was hoping there was a simple command to do this in Dash.

I also want to know the way to transpose ddt, it is very simple for pandas anyway. :clap: df.T

1 Like