get the first element of each tuple in a list `rows`,[x[0] for x in rows]