MoI embedded inside CPython 3.91?

 From:  bemfarmer
10134.15 In reply to 10134.14 
After an ordeal of a few days of google web surfing scores of websites, and study of Python and Pandas, I was finally able to get a MoI SavePointNetwork.csv imported into Python 3.9.1.
A grand total of 4 lines of code! So many permutations do not work, and there have been version changes also.

The path will need to be modified to the individuals folder structure. Change orcha to your username. Remove OneDrive folder from path, if it is not used.
Place the gDomain.csv file created from MoI into your Desktop folder. The r needs to stay. The plural and singular names must stay the same. # HashTags are comment lines, like Javascript //
Open Python 3.9.1 from Windows 10 start menu.
Paste in the above code, and hit return, to see the pandas Data Frame, which looks like an excel spreadsheet.
Hit return again, to see the data types of the numbers.
The .csv numbers are text strings.
The Data Frame point coordinates are np.float64, and the cIndex is np.int64. (Javascript numbers are also all 64 bit.)
The row index column on the left, and the column names are not essential, but will be used to access the coordinates.

Attached is a truncated gDomain.csv for testing purposes. It has 10 points for each of 3 parent MoI curves.

- Brian

(Running python code in Notepad++ worked in a super simple case, but does not work in general.)

EDITED: 22 Feb 2021 by BEMFARMER

Attachments: