numpy.ma.concatenate(arrays,axis=0)[source]¶Concatenate a sequence of arrays along the given axis.
| Parameters: | arrays : sequence of array_like
axis : int, optional
|
|---|---|
| Returns: | result : MaskedArray
|
See also
numpy.concatenateExamples
>>>importnumpy.maasma>>>a=ma.arange(3)>>>a[1]=ma.masked>>>b=ma.arange(2,5)>>>amasked_array(data = [0 -- 2], mask = [False True False], fill_value = 999999)>>>bmasked_array(data = [2 3 4], mask = False, fill_value = 999999)>>>ma.concatenate([a,b])masked_array(data = [0 -- 2 2 3 4], mask = [False True False False False False], fill_value = 999999)