Matching Two Lists

Greetings,

I have two lists representing the low and high points in a multiple numbers of profiles , I’m trying to match each list of high points to the corresponding list of the low points to create a new list of the low and high points for each profile together.

Thanks in advance

You description is a bit too vague to really know what you are after. It would help if you provide additional context and sample data.
It might just be something like this?

like in this picture , there are lists of points from the highpoints node and from the lowpoints node , i want to combine each list with the corresponding one.

The example @pumpaij shared should help explain the concept of what you’re after. Your list levels will require an additional transpose to groups the subgroups.

Thank you , it really helped i appreciate it.
And thank you @Nick_Boyts for pointing it out , i also wanted to know after combining the two lists how can i extract each list separately?

Thanks in advance

you want to combine the lists, then split them again ?

No, i want to combine the sub lists from two different lists and them extract each new list , for example in the following picture , new list 0 will include 2 points and list 1 will have 7 points etc , i want to extract these new lists separately

possibly simpler methods, but this is one way to understand it

1 Like

Thank you so much

Why do you want them separate and do you know that you’ll always have the same number of subgroups?

Typically, it’s best to keep sublists in a singular list and to operate on the entire list. If there are separate operations for separate conditions, it’s best to include those conditions in the larger operation. This is all particularly important if you have a varying amount of sublists. Otherwise you’re forced to know how many sublists you have every time you run the script, and to manually create a new branch for each of those sublists.

yes, I agree

Also worth noting that joining a null sublist (i.e does not exist) with a sublist (that does exist) produces a null.