parameters: (self)
docstring: Tests creation
docstring_summary: Tests creation
docstring_tokens: Tests creation
function: def test_0(self):
          "Tests creation"
          x = np.array([1., 1., 1., -2., pi/2.0, 4., 5., -10., 10., 1., 2., 3.])
          m = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0]
          xm = self.masked_array(x, mask=m)
          xm[0]
function_tokens: def test_0 ( self ) : x = np . array ( [ 1. , 1. , 1. , - 2. , pi / 2.0 , 4. , 5. , - 10. , 10. , 1. , 2. , 3. ] ) m = [ 1 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 ] xm = self . masked_array ( x , mask = m ) xm [ 0 ]