Greetings all,
Trying to add a numpy array (as a column) to a table in pyq. Pyq documentation doesn’t seem to have an answer for me.
Any help greatly appreciated.
Greetings all,
Trying to add a numpy array (as a column) to a table in pyq. Pyq documentation doesn’t seem to have an answer for me.
Any help greatly appreciated.
so play along with me:
have tried table[`col] or table.col assignment – no go
have tried “update” which naturally won’t work given that im not trying to create a new col from data existing within the table itself
have tried to upsert the column as its own table into the existing table (it should work given they’re of the same length) but thusfar no go.
what’s the pyq-onic way to do this?
For others looking for PyQ documentation. This is the most up to date pdf I was able to find
ANSWER: table.update(‘col’,col=py list)