numpy.ma.append(a,b,axis=None)[source]¶Append values to the end of an array.
New in version 1.9.0.
| Parameters: |
|
|---|---|
| Returns: |
|
See also
numpy.appendExamples
>>>importnumpy.maasma>>>a=ma.masked_values([1,2,3],2)>>>b=ma.masked_values([[4,5,6],[7,8,9]],7)>>>print(ma.append(a,b))[1 -- 3 4 5 6 -- 8 9]