Python and Postgresql
Posted
by Ian
on Stack Overflow
See other posts from Stack Overflow
or by Ian
Published on 2010-05-25T13:35:35Z
Indexed on
2010/05/25
13:41 UTC
Read the original article
Hit count: 491
python
|postgresql
Hi all,
if you wanted to manipulate the data in a table in a postgresql database using some python (maybe running a little analysis on the result set using scipy) and then wanted to export that data back into another table in the same database, how would you go about the implementation?
Is the only/best way to do this to simply run the query, have python store it in an array, manipulate the array in python and then run another sql statement to output to the database?
I'm really just asking, is there a more efficient way to deal with the data?
Thanks, Ian
© Stack Overflow or respective owner