How to display index of dataframe in the dash table

Hello,

I am currently trying to describe a dataframe using a dash table, I have tried multiple to_dict(…) ways to render it , but unfortunately i am not able to show the index in the dashtable. (i.e. ‘count’ ‘mean’ ‘std’ ‘min’ ‘25%’ ‘50%’ ‘75%’ ‘max’).

Any help on this please.

Thanks in advance :slight_smile:

1 Like

One way would be to just call reset_index() on your dataframe to move the index into a regular column.

4 Likes

I solved it using the same, Thanks for the response btw, I appeciate. :slight_smile: