Re: [Rpy] Dictionary Order

2011-12-08 Thread Thomas Kluyver
On 8 December 2011 13:04, federico vaggi wrote: > Why not use http://pypi.python.org/pypi/ordereddict ? > If you're using Python 2.7/3.1+, it's in the standard library: http://docs.python.org/library/collections#collections.OrderedDict Thomas

[Rpy] Dictionary Order

2011-12-08 Thread federico vaggi
Why not use http://pypi.python.org/pypi/ordereddict ? -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone consi

Re: [Rpy] Dictionary order

2011-12-06 Thread Artur Wroblewski
On Tue, Dec 6, 2011 at 3:56 PM, Marko Limbek wrote: > This is my problem. > I get results of some method and I should match coordinates from one > dictionary and names of categories in another dictionary. Is that possible? Any example? :) Regards, w

Re: [Rpy] Dictionary order

2011-12-06 Thread Marko Limbek
This is my problem. I get results of some method and I should match coordinates from one dictionary and names of categories in another dictionary. Is that possible? I see no way of doing that! I have already used sorted(). I have also used update() but I believe that update() also works arbitrary,

Re: [Rpy] Dictionary order

2011-12-06 Thread Peter
On Tue, Dec 6, 2011 at 2:48 PM, Marko Limbek wrote: > Hi, > > Can someone please explain to me, how Python performs his random > permutations in the keys of the dictionaries? It seems that there are some > more or less random permutations, because the order of the variables is > completely confuse

[Rpy] Dictionary order

2011-12-06 Thread Marko Limbek
Hi, Can someone please explain to me, how Python performs his random permutations in the keys of the dictionaries? It seems that there are some more or less random permutations, because the order of the variables is completely confused. I am doing some complex statistical analysis in RPy (multiple