Unfortunately, it doesn’t work yet. It is possible that another software environment is meant. I am working in a ProgrammableFilter. Here are the parameters of the object after
print(dir(MyData))
print(type(MyData))
['Arrays', 'Association', 'DataSet', 'GetArrays', 'GetSize', 'Initialized', 'Name', '_Arrays', '_VTKCompositeDataArray__init_from_composite', '__add__', '__and__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__floordiv__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lshift__', '__lt__', '__mod__', '__module__', '__mul__', '__ne__', '__new__', '__or__', '__pow__', '__radd__', '__rand__', '__reduce__', '__reduce_ex__', '__repr__', '__rfloordiv__', '__rlshift__', '__rmod__', '__rmul__', '__ror__', '__rpow__', '__rrshift__', '__rshift__', '__rsub__', '__rtruediv__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__weakref__', '__xor__', '_numeric_op', '_reverse_numeric_op', 'astype', 'size']
<class 'paraview.vtk.numpy_interface.dataset_adapter.VTKCompositeDataArray'>