Код: Выделить всё
dw1 dw2
db_c c_dat a e
c_idx b f
db_s s_dat c g
s_idx d h
Код: Выделить всё
db_c c_dat dw1 a
c_dat dw2 e
c_idx dw1 b
c_idx dw2 f
db_s s_dat dw1 c
s_dat dw2 g
s_idx dw1 d
s_idx dw2 h
Подробнее здесь: https://stackoverflow.com/questions/785 ... -dataframe