Questions tagged [ordereddict]

Python OrderedDict datatype, which remembers the order entries were added to the dictionary.

Python OrderedDict datatype, which remembers the order entries were added to the dictionary. Also see collections — High-performance container datatypes in the Python manual.

77 questions
-2
votes
1 answer

Python parsing nested ordereddicts

What if the file was like this: OrderedDict ([ ('activateable', False), ('Thisfield', [OrderedDict ([ ('autoNumber', False), ('name', ‘col_1’), (‘amount’, ‘10’)]), [OrderedDict ([ ('autoNumber', False), ('name', ‘col_2’), (‘amount’,…
-2
votes
2 answers

minimum value of an multi value OrderedDict

I have an OrderedDict that each key has more than one value. < 1, 50 , 1000, 20 > < 3, 40 , 2000, 2 > < 5, 30 , 10000, 70 > .. How can I get the key of the item that has the minimum…
Elham
  • 302
  • 2
  • 9
1 2 3 4 5
6