I have two list of dicts:
first_list = [{
"symbol": "BTC",
"price": 22809
},
{
"symbol": "ETH",
"price": 1626
}
]
second_list = [{
"symbol": "BTC",
"volume": 22809333
},
{
"symbol": "ETH",
"volume": 19809333
}
]
What is the best solution (without for or another bad time complexibility solutions) to merge two lists like:
final_list = [{
"symbol": "BTC",
"price": 22809,
"volume": 22809333
},
{
"symbol": "ETH",
"price": 1626,
"volume": 19809333
}
]