can't figure out what the error w.r.t select query here in python psycopg2 (postgresql query)

    cursor = con.cursor()
    postgreSQL_select_Query = """select ticker, timestamp, close from usstockseod u where u.ticker = %s;""" 
    cursor.execute(postgreSQL_select_Query,[ticker,])
    close_prices = cursor.fetchall()
    c_f = pd.DataFrame(close_prices, columns=['ticker','timestamp','close'])
    return c_f```

🔴 No definitive solution yet