score:1

Accepted answer

if i understand your question correctly, i believe this is what you are looking for:

[{"x": row[0], "y": row[1]} for row in rows]

please let me know if it's not!


Related Query

More Query from same tag