Re: [Numpy-discussion] simple manipulations of numpy arrays

2012-02-11 Thread Brad Reisfeld
On 2/10/2012 8:53 AM, Francesc Alted wrote: On Feb 10, 2012, at 4:50 PM, Francesc Alted wrote: https://github.com/FrancescAlted/carry Hmm, this should be: https://github.com/FrancescAlted/carray Blame my (too) smart spell corrector. -- Francesc Alted Thank you, Francesc and Tom,

[Numpy-discussion] simple manipulations of numpy arrays

2012-02-10 Thread Brad Reisfeld
Hi, I am relatively new to numpy and am seeking some advice on an appropriate way to do the following simple task. The idea is to build a class that will allow a user to easily remove and keep columns and rows in a 2D numpy array. An outline of the class is as follows: class

Re: [Numpy-discussion] simple manipulations of numpy arrays

2012-02-10 Thread Tom Aldcroft
This is not yet released (but will be in the near future): http://readthedocs.org/docs/astropy/en/latest/table/index.html https://github.com/astropy/astropy/blob/master/astropy/table/table.py You can at least use this as an example of how to add rows and columns to a structured array.  Or be an

Re: [Numpy-discussion] simple manipulations of numpy arrays

2012-02-10 Thread Francesc Alted
On Feb 10, 2012, at 3:29 PM, Brad Reisfeld wrote: Hi, I am relatively new to numpy and am seeking some advice on an appropriate way to do the following simple task. The idea is to build a class that will allow a user to easily remove and keep columns and rows in a 2D numpy array. clip

Re: [Numpy-discussion] simple manipulations of numpy arrays

2012-02-10 Thread Francesc Alted
On Feb 10, 2012, at 4:50 PM, Francesc Alted wrote: https://github.com/FrancescAlted/carry Hmm, this should be: https://github.com/FrancescAlted/carray Blame my (too) smart spell corrector. -- Francesc Alted ___ NumPy-Discussion mailing list