[Numpy-discussion] Memory leak in numpy

2012-03-09 Thread FRENK Andreas
Dear Community, I have an issue with numpy consuming more and more memory. According to ticket: http://projects.scipy.org/numpy/ticket/1427 This is a known issue. It should be fixed in 2.0.0.dev-9451260. What does this mean? It sound like a development release. Is there any chance to fix it in 1

[Numpy-discussion] Get the index of a comparison of two lists

2011-02-16 Thread FRENK Andreas
Hi, Thanks for the two solutions. Indeed, there are much faster than the brute force method using in. The setmember1d is deprecate din newer python releases, therefore I already switched to in1d(). (Thanks Josef.) Andreas ___ NumPy-Discussion mailing

[Numpy-discussion] Get the index of a comparison of two lists

2011-02-11 Thread FRENK Andreas
Hi, I need to create a construct that returns the index of entries of the first list, if values in the first and second list are equal. Take valA = [1,2,3,4,20,21,22,23,24] valB = [1,2,3,4, 5,21,22,23] The correct solution is: [0,1,2,3,5,6,7] A potential loop can be: takeList=[] for j,a in enu