I'm surprised, i haven't found anything relevant.
I simply need to flattern this DataFrame with some unifying symbol, e.g. "_".
So, i need this
A B
a1 a2 b1 b2
id
264 0 0 1 1
321 1 1 2 2
to look like this:
A_a1 A_a2 B_b1 B_b2
id
264 0 0 1 1
321 1 1 2 2