Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

How to dash_table.DataTable invert, tranpose, swap/flip columns/rows

$
0
0

What I have:
HEADER_0 | … | HEADER_N
---------------- | … | ----------------
DATA_0_0 | … | DATA_N_M

What I need: a function that inverts my table to:
HEADER_0 | DATA_0_0, …, DATA_0_M

HEADER_N | DATA_N_0, …, DATA_N_M

is there any way to achieve this: I know that I could just change the pd.DataFrame but then I’d lose the style of
the heading that I’d want vertically as it is horizontally by default.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles