[Numpy-discussion] memmory management question

2013-10-27 Thread Georgios Exarchakis
Hi, I am using numpy with ipython from anaconda and I observe the following behavior: Python 2.7.5 |Anaconda 1.7.0 (64-bit)| (default, Jun 28 2013, 22:10:09) Type "copyright", "credits" or "license" for more information. IPython 1.0.0 -- An enhanced Interactive Python. ? -

Re: [Numpy-discussion] select column based on another column value

2013-10-09 Thread Georgios Exarchakis
I think you need this >>> testdata[testdata[:,0]==today][:,2].mean() 4.267 >>> testdata[testdata[:,0]==yesterday][:,2].mean() 5.634 >>> testdata[testdata[:,0]==twodaysago][:,2].mean() 2.9336 On 10/09/2013 06:46 AM, Roelf Schreurs wrote: Hi I have the fol