parameters: (self)
return_statement: return SArray(_proxy=res["X1"].__proxy__)
docstring: Get all unique values in the current SArray.
  
          Raises a TypeError if the SArray is of dictionary type. Will not
          necessarily preserve the order of the given SArray in the new SArray.
  
  
          Returns
          -------
          out : SArray
              A new SArray that contains the unique values of the current SArray.
  
          See Also
          --------
          SFrame.unique
docstring_summary: Get all unique values in the current SArray.
docstring_tokens: Get all unique values in the current SArray .
function: def unique(self):
          """
          Get all unique values in the current SArray.
  
          Raises a TypeError if the SArray is of dictionary type. Will not
          necessarily preserve the order of the given SArray in the new SArray.
  
  
          Returns
          -------
          out : SArray
              A new SArray that contains the unique values of the current SArray.
  
          See Also
          --------
          SFrame.unique
          """
          from .sframe import SFrame as _SFrame
  
          tmp_sf = _SFrame()
          tmp_sf.add_column(self, "X1", inplace=True)
  
          res = tmp_sf.groupby("X1", {})
  
          return SArray(_proxy=res["X1"].__proxy__)
function_tokens: def unique ( self ) : from . sframe import SFrame as _SFrame tmp_sf = _SFrame ( ) tmp_sf . add_column ( self , "X1" , inplace = True ) res = tmp_sf . groupby ( "X1" , { } ) return SArray ( _proxy = res [ "X1" ] . __proxy__ )