These questions will be highlighted with the #Key Question tag, and their authors will get the Key Question badge on Global Masters (when it's back).
If you find the key question(s) from other communities interesting, just drop us a line in the comments and we will translate the question(s) and the accepted answer(s).
Congrats, and thank you all for your interesting questions. Keep them coming!
How to convert the IRIS %DynamicArray into python list. I got " <THROW>TestDyncArray+1^MyLearn.Pyth.NewClass1.1 *%Exception.PythonException <PYTHON EXCEPTION> 246 <class 'AttributeError'>: <unknown exception data>" error when passing array values to python class.
ClassMethod TestDyncArray()
{
Do..DyncArrayInPy([1,2,3,4])
}
ClassMethod DyncArrayInPy(numbers) [ Language = python ]
{
import iris
print(type(numbers)) ;<class 'iris.%Library.DynamicArray'> need to be a <class 'list'>for num in numbers:
print(num)
}