01-13-2023 12:11 PM
In DIAdem how can we extract the first row from a particular group and store it into a list in python.
In the below snapshot how can we extract the first row from group Room temperatures & store it in a list?
Solved! Go to Solution.
01-16-2023 01:55 AM
Hi joshilpa,
my_list = []
oGroupChns = dd.Data.Root.ChannelGroups("Room temperatures").Channels
for oChn in oGroupChns:
my_list.append(oChn[1])
print(my_list)
Greetings
Walter
01-16-2023 02:30 AM
Thank you Walter, this solution works perfectly!