Combine

Lets say I have A,B,C lists of values.

A

  • 1
  • 2

B

  • 3
  • 4

C

  • 5
  • 6

I want to combine them.

AA

  • [1,3,5]

BB

  • [2,4,6]

The A,B,C lists will be long.

Hi @Andrej ,

You could use List.Combine with a List.Join as combinator function:

The only thing this setup requires is that all inputs, in your case A, B and C are of equal length. But I would assume that that is always the case since you’re trying to combine that data.

2 Likes

What if the list are not equal length?
I am facing something similar here…

using zip()

1 Like

Thanks

List.Transpose also does exactly this by flipping “rows and columns”.

4 Likes