Convert System.Double[] to Python

Solution 1:

My suggestion would be to loop through the object row by row and append to the list.

So if your System.Double[] object is called myData, create a new list called myData_list, loop through myData and append to the list row by row. Try the example below. You can then convert the list into a df and plot it however you see fit.

myData_list = []
for row in myData:
    myData_list.append(row)

or using List comprehension:

myData_list = [row for row in myData]

I use this method in my application. I am using python net to access the methods in a windows .dll file and this is how I have been able to access the data.