[Numpy-discussion] Appending/combining masked arrays

Pierre GM pgmdevlist at gmail.com
Wed Sep 29 18:22:07 EDT 2010


On Sep 30, 2010, at 12:15 AM, Gökhan Sever wrote:

> On Wed, Sep 29, 2010 at 5:09 PM, Pierre GM <pgmdevlist at gmail.com> wrote:
>> 
>> On Sep 29, 2010, at 11:46 PM, josef.pktd at gmail.com wrote:
>>> 
>>> any of the ma stack array function might also work, or not?
>> 
>> In np.ma.extras ? Most likely, yes
> 
> This seems to do what I want:
> 
> I[262]: np.ma.hstack(all_measured)
> 
> 
> I don't know why there are replicas under np.ma.extras.

Well, hstack is implemented in numpy/ma/extras.py but this file is automatically imported w/ np.ma


More information about the NumPy-Discussion mailing list