parameters: (a)
return_statement: return compress_rowcols(a, 0)
docstring: Suppress whole rows of a 2-D array that contain masked values.
  
      This is equivalent to ``np.ma.compress_rowcols(a, 0)``, see
      `extras.compress_rowcols` for details.
  
      See Also
      --------
      extras.compress_rowcols
docstring_summary: Suppress whole rows of a 2-D array that contain masked values.
docstring_tokens: Suppress whole rows of a 2 - D array that contain masked values .
function: def compress_rows(a):
      """
      Suppress whole rows of a 2-D array that contain masked values.
  
      This is equivalent to ``np.ma.compress_rowcols(a, 0)``, see
      `extras.compress_rowcols` for details.
  
      See Also
      --------
      extras.compress_rowcols
  
      """
      a = asarray(a)
      if a.ndim != 2:
          raise NotImplementedError("compress_rows works for 2D arrays only.")
      return compress_rowcols(a, 0)
function_tokens: def compress_rows ( a ) : a = asarray ( a ) if a . ndim != 2 : raise NotImplementedError ( "compress_rows works for 2D arrays only." ) return compress_rowcols ( a , 0 )