def fit(self, data):
        """
        Fits a transformer using the SFrame `data`.

        Parameters
        ----------
        data : SFrame
            The data used to fit the transformer.

        Returns
        -------
        self (A fitted object)

        See Also
        --------
        transform, fit_transform
        """

        self._setup_from_data(data)
        self.transform_chain.fit(data)

        self.__proxy__.update({"fitted" : True})
        return self
def fit ( self , data ) : self . _setup_from_data ( data ) self . transform_chain . fit ( data ) self . __proxy__ . update ( { "fitted" : True } ) return self
Fits a transformer using the SFrame `data`.

        Parameters
        ----------
        data : SFrame
            The data used to fit the transformer.

        Returns
        -------
        self (A fitted object)

        See Also
        --------
        transform, fit_transform