I have a few dataframes and I would like to concat them in a special manor.
We have 2 tables:
| A | B |
|---|---|
| 1 | 2 |
| 3 | 4 |
| C | D |
|---|---|
| "Cat" | "Dog" |
| "Dino" | "Fish" |
I would like to create a structure where headers from each table are getting one header like this:

How is it done with Pandas?
Thank you.