PSQL Use Consulta Resultado Convertir Decimal Python Numpy PSYCOPG2
DEC2FLOAT = psycopg2.extensions.new_type(
psycopg2.extensions.DECIMAL.values,
'DEC2FLOAT',
lambda value, curs: float(value) if value is not None else None)
psycopg2.extensions.register_type(DEC2FLOAT)
Defeated Dingo