How do I create a block write?

I designed a laser displacement guage where I capture encoder data (distance) and laser data (height) with a PLC and then use a block group to transfer 10,000 encoder and 10,000 laser points to the database. After alot of filtering and calculations I now have a reduced dataset of about 1000 points (x,y) to pass back to the PLC to display on the local touchscreen.

The data to be written back to the plc is currently in a 2 column dataset with 1000 rows. I am wondering what would be the easiest way to do this.

Here is what I am thinking …
Create 2000 tags in Kepware
Put the following in a button script

system.opc.writeValues(opcServer, itemPaths, values)

Is the list, refered to in the help file, the same as a single column python dataset?
GuageBandTester.xml (14 KB)

No, you would have to convert it to a basic list:values = [row[0] for row in datasetVariable]