0
$\begingroup$

This question already has an answer here:

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}}.

$\endgroup$

marked as duplicate by J. M. will be back soon Jun 30 '16 at 13:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ This again? Maybe we should get an elementary list operation stackexchange. $\endgroup$ – Feyre Jun 30 '16 at 12:15
1
$\begingroup$

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

Transpose

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.