[Numpy-discussion] Making cdecimal.Decimal a native numpy type

2012-07-22 Thread Dr.Leo
Hi, I am a seasoned numpy/pandas user mainly interested in financial applications. These and other applications would greatly benefit from a decimal data type with flexible rounding rules, precision etc. Yes, there is cdecimal, the traditional decimal module from the Python stdlib rewritten in

Re: [Numpy-discussion] Making cdecimal.Decimal a native numpy type

2012-07-22 Thread Tom Aldcroft
On Sun, Jul 22, 2012 at 8:54 AM, Dr.Leo wrote: > Hi, > > I am a seasoned numpy/pandas user mainly interested in financial > applications. These and other applications would greatly benefit from a > decimal data type with flexible rounding rules, precision etc. > > Yes, there is cdecimal, the tradi

[Numpy-discussion] view of recarray issue

2012-07-22 Thread Ralf Gommers
Hi, Just a heads up that right now views of recarrays seem to be problematic, this doesn't work anymore: >>> import statsmodels.api as sm >>> dta = sm.datasets.macrodata.load() # returns a record array with 14 fields >>> dta.data[['infl', 'realgdp']].view((float,2)) I opened http://projects.sci

Re: [Numpy-discussion] Memory Leak

2012-07-22 Thread Russel Howe
Never mind, this was fixed with commit 3a7e61c7d55be9a84929747c38cd71e62593129d. Russel From: numpy-discussion-boun...@scipy.org [numpy-discussion-boun...@scipy.org] on behalf of Russel Howe [rus...@appliedminds.com] Sent: Friday, July 20, 2012 8:04 PM To