cur.execute('select order_no, amount from orders where cust_id=123')
dictrows = [dict(row) for row in cur]
for r in dictrows:
    r['amount'] = format(r['amount'], '%.2f')
Замена значения во всех строках курсора