[Numpy-discussion] Appending/combining masked arrays

Gökhan Sever gokhansever@gmail....
Wed Sep 29 17:15:15 CDT 2010


On Wed, Sep 29, 2010 at 5:09 PM, Pierre GM <pgmdevlist@gmail.com> wrote:
>
> On Sep 29, 2010, at 11:46 PM, josef.pktd@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