[Numpy-discussion] Appending/combining masked arrays

Gökhan Sever gokhansever at gmail.com
Wed Sep 29 18:15:15 EDT 2010


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)
O[262]:
masked_array(data = [382.4828 375.57736 387.56132 ..., 371.29348
364.26819 374.77477],
             mask = [False False False ..., False False False],
       fill_value = 1e+20)

I don't know why there are replicas under np.ma.extras.

-- 
Gökhan



More information about the NumPy-Discussion mailing list