Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Richard Hattersley
On 27 April 2012 17:42, Travis Oliphant wrote: > > 1) There is a lot of code out there that does not know anything about > masks and is not used to checking for masks.It enlarges the basic > abstraction in a way that is not backwards compatible *conceptually*. > This smells fishy to me and I

[Numpy-discussion] Python3, genfromtxt and unicode

2012-04-27 Thread Antony Lee
With bytes fields, genfromtxt(dtype=None) sets the sizes of the fields to the largest number of chars (npyio.py line 1596), but it doesn't do the same for unicode fields, which is a pity. See example below. I tried to change npyio.py around line 1600 to add that but it didn't work; from my limited

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-27 Thread Robert Kern
On Fri, Apr 27, 2012 at 21:52, Travis Vaught wrote: > With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior: > > > ~ > > In [1]: import numpy as np > > In [2]: schema = np.dtype({'names':['symbol', 'date', 'open', 'high', 'low', >    ...:                        'clo

[Numpy-discussion] datetime dtype possible regression

2012-04-27 Thread Travis Vaught
With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior: ~ In [1]: import numpy as np In [2]: schema = np.dtype({'names':['symbol', 'date', 'open', 'high', 'low', ...:'close', 'volume', 'adjclose'], ...:'formats':['

[Numpy-discussion] ANN: statsmodels 0.4.0

2012-04-27 Thread josef . pktd
We are pleased to announce the release of statsmodels 0.4.0. The big changes in this release are that most models can now be used with Pandas dataframes, and that we dropped the scikits namespace. Importing scikits.statsmodels is still possible but will be removed in the future. Pandas is now a re

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Travis Oliphant
On Apr 25, 2012, at 10:58 AM, Richard Hattersley wrote: > The masked array discussions have brought up all sorts of interesting topics > - too many to usefully list here - but there's one aspect I haven't spotted > yet. Perhaps that's because it's flat out wrong, or crazy, or just too > awkwar

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Charles R Harris
On Fri, Apr 27, 2012 at 9:16 AM, wrote: > On Fri, Apr 27, 2012 at 10:33 AM, Charles R Harris > wrote: > > > > > > On Fri, Apr 27, 2012 at 8:15 AM, Charles R Harris > > wrote: > >> > >> > >> > >> On Wed, Apr 25, 2012 at 9:58 AM, Richard Hattersley > >> wrote: > >>> > >>> The masked array discus

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Richard Hattersley
Hi all, Thanks for all your responses and for your patience with a newcomer. Don't worry - I'm not going to give up yet. It's all just part of my learning the ropes. On 27 April 2012 14:05, Benjamin Root wrote: > Your idea is interesting, but doesn't it require C++? Or maybe you > are thinking

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread josef . pktd
On Fri, Apr 27, 2012 at 10:33 AM, Charles R Harris wrote: > > > On Fri, Apr 27, 2012 at 8:15 AM, Charles R Harris > wrote: >> >> >> >> On Wed, Apr 25, 2012 at 9:58 AM, Richard Hattersley >> wrote: >>> >>> The masked array discussions have brought up all sorts of interesting >>> topics - too many

Re: [Numpy-discussion] SciPy 2012 - The Eleventh Annual Conference on Scientific Computing with Python

2012-04-27 Thread Warren Weckesser
Dear all, (Sorry if you receive this announcement multiple times.) Registration for SciPy 2012, the eleventh annual Conference on Scientific Computing with Python, is open! Go to https://conference.scipy.org/scipy2012/register/index.php We would like to remind you that the submissions for talks,

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Charles R Harris
On Fri, Apr 27, 2012 at 8:15 AM, Charles R Harris wrote: > > > On Wed, Apr 25, 2012 at 9:58 AM, Richard Hattersley > wrote: > >> The masked array discussions have brought up all sorts of interesting >> topics - too many to usefully list here - but there's one aspect I haven't >> spotted yet. Per

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Charles R Harris
On Wed, Apr 25, 2012 at 9:58 AM, Richard Hattersley wrote: > The masked array discussions have brought up all sorts of interesting > topics - too many to usefully list here - but there's one aspect I haven't > spotted yet. Perhaps that's because it's flat out wrong, or crazy, or just > too awkward

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Nathaniel Smith
On Fri, Apr 27, 2012 at 11:32 AM, Richard Hattersley wrote: > I know used a somewhat jokey tone in my original posting, but fundamentally > it was a serious question concerning a live topic. So I'm curious about the > lack of response. Has this all been covered before? > > Sorry if I'm being too i

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Benjamin Root
On Fri, Apr 27, 2012 at 6:32 AM, Richard Hattersley wrote: > I know used a somewhat jokey tone in my original posting, but > fundamentally it was a serious question concerning a live topic. So I'm > curious about the lack of response. Has this all been covered before? > > Sorry if I'm being too im

Re: [Numpy-discussion] A crazy masked-array thought

2012-04-27 Thread Richard Hattersley
I know used a somewhat jokey tone in my original posting, but fundamentally it was a serious question concerning a live topic. So I'm curious about the lack of response. Has this all been covered before? Sorry if I'm being too impatient! On 25 April 2012 16:58, Richard Hattersley wrote: > The