Input:
A= [{'A':0.4, 'B':0.8, 'C':1.0},
{'A':0.5, 'B':0.9, 'C':0.0}]
Desired Output:
A=[{'C':1.0},{'A':0.5, 'B':0.9}]
Note: I wanna iterate through and keep only the key with the maximum value among same keys !! And list of dictionaries should be kept !