The documentation on Python equivalents of Tscript methods for working with tables seems to have some misleading (or incorrect or incomplete?) info. To copy a table it suggests using:
op('table1')['r1', 'c1'] = op('fromtable').copy()
I’ve tried this with no success but discovered that this works:
This may be obvious for a more experienced Python user but it stumped me for while.