I have a dictionary like this:
header= {'f1': 13, 'f2': 7, 'f3': 45};
As you see, header['f2'] = 7
has the minimum value and this item is the second in header (its index is 1).
What I do?
I have try this code to get the index of minimum item in header (here 1) but it returns the key value:
index = min(header)
Output:
f2
What I want?
I want to get the index of the minimum item in the dictionary, How can i do that?