Heyho, I want to split my dataframe which looks like:
ID name1_attr1 name1_attr2 name2_attr2 ...
1 2 3 1
2 1 3 4
3 3 4 2
4 6 7 5
into:
ID name attr1 attr2
1 1 2 3
2 1 1 3
3 1 3 4
4 1 6 7
1 2 1
2 2 4
3 2 2
4 2 5
I am really not sure how to do that? Do you have any hint or start for me? Thanks in advance :)