I have a this list for example
expdata={{49, 50, 51, 52, 53, 54},{0,3,5,2,0,1}}
and I want to rearrange it like this
expdata={{49,0},{50,3},{51,5},{52,2},{53,0},{54,1}}.
Asked
Active
Viewed 72 times
0
teorf
- 11
- 3
-
This again? Maybe we should get an elementary list operation stackexchange. – Feyre Jun 30 '16 at 12:15
1 Answers
1
Example
Code
Transpose @ expdata
Note: expdata as in your OP prior to any rearrangement
Output
{{49, 0}, {50, 3}, {51, 5}, {52, 2}, {53, 0}, {54, 1}}
Reference
e.doroskevic
- 5,959
- 1
- 13
- 32