ive created a density plot using python, and ive managed to print out a series of data points that define the shape of the density plot


i can make it print into the alteryx runtime log, but i cannot make it output through the Alteryx.Write() function
the problem is that i am getting the data points from a loop statement and i dont know how to compile it into a single DataFrame to pass to the write function..
can someone please help?