Hi @11111,
writing an RDF into a file is simple, you can use the Snapshot method.
The problem with the Define
is that RDF has no notion of the outArray
python variable. Declaring a python variable to RDF is possible but not super straightforward, see e.g. the discussion at Add new column to RDataFrame
Cheers,
Enrico