General note label Transpose

Hi Everyone
i have general note labels that contain row its name CABLES as the below pic.
i want to transpose All cases like this (L1,L2,… ,Ln)
Appreciate your help.

Hi, try to use new lines in string: “\n”.

2 Likes

Thanks for your reply but i didn’t get your point.
Can you explain more please?!

1 Like

hi

cordially
christian.stan

2 Likes

Thanks @christian.stan , it’s working now
i have last duet if i have in some list items duplicates , i need to count these duplicates as example
Look at the below pic. Appreciate your help.

1 Like

Avoid cascading questions within a topic
Mr. Drbohlav’s answer is the solution then we move on.
To gain clarity if someone is in the same situation as you
in searches afterwards this is more effective

The magnifying glass is a good tool (personally I use it quite a bit)
potential avenue:
You will no longer need to deconstruct your chain into items of a list then uniqueitem a little count then reassemble into a chain

good evening
cordially
christian.stan

2 Likes

Thanks for your advise.
i think the another question it was in the same topic .
otherwise if i need more help in the same top should i make another post ?!

Hi, let’s admit that this is a variation
here is a possibility (not necessarily the most effective, each with their own skills)

as mentioned
previously

Sincerely
christian.stan

Appreciated , i did the same thing with same levels but there’s something noncorrect
because in list 0 you’ll not find any duplicates but in list chop did 2 duplicates in list 0.


TRYdyn.dyn (20.8 KB)

sequels of New Year’s Eve surely I can’t get out of it with a transpose and good lacing here is a workaround with python

import sys
import collections
A=IN[0]
OUT = [collections.Counter(A[i]).values() for i in range(len(A))]


(that should do the job)
edit:
for information

Sincerely
christian.stan