Add list as keys for another list and convert to dictionary
I have a list of columns and records that I get by using DATA-API RDS execute_statement using boto3. As the way the api responds it difficult to get the data out in a psycopg2 RealDictCursor format to insert into another database. What I want to do is illustrated below. columns = ["a","b","c"] records = [[1,2,3],[4,5,6]]… Read More Add list as keys for another list and convert to dictionary