packages/vaex-ml/vaex/ml/sklearn.py
def transform(self, df):
        '''Transform a DataFrame such that it contains the predictions of the SKLearnPredictor.
        in form of a virtual column.

        :param df: A vaex DataFrame.

        :return copy: A shallow copy of the DataFrame that includes the SKLearnPredictor prediction as a virtual column.
        :rtype: DataFrame
        '''
        copy = df.copy()
        lazy_function = copy.add_function('sklearn_prediction_function', self)
        expression = lazy_function(*self.features)
        copy.add_virtual_column(self.prediction_name, expression, unique=False)
        return copy
Transform a DataFrame such that it contains the predictions of the SKLearnPredictor.
        in form of a virtual column.

        :param df: A vaex DataFrame.

        :return copy: A shallow copy of the DataFrame that includes the SKLearnPredictor prediction as a virtual column.
        :rtype: DataFrame
        
Transform a DataFrame such that it contains the predictions of the SKLearnPredictor.
in form of a virtual column.
Transform a DataFrame such that it contains the predictions of the SKLearnPredictor . in form of a virtual column .
def transform(self, df):
        copy = df.copy()
        lazy_function = copy.add_function('sklearn_prediction_function', self)
        expression = lazy_function(*self.features)
        copy.add_virtual_column(self.prediction_name, expression, unique=False)
        return copy
def transform ( self , df ) : copy = df . copy ( ) lazy_function = copy . add_function ( 'sklearn_prediction_function' , self ) expression = lazy_function ( * self . features ) copy . add_virtual_column ( self . prediction_name , expression , unique = False ) return copy
Transform a DataFrame such that it contains the predictions of the SKLearnPredictor.
Transform a DataFrame such that it contains the predictions of the SKLearnPredictor .
'''Transform a DataFrame such that it contains the predictions of the SKLearnPredictor.
        in form of a virtual column.

        :param df: A vaex DataFrame.

        :return copy: A shallow copy of the DataFrame that includes the SKLearnPredictor prediction as a virtual column.
        :rtype: DataFrame
        '''
A shallow copy of the DataFrame that includes the SKLearnPredictor prediction as a virtual column.
A shallow copy of the DataFrame that includes the SKLearnPredictor prediction as a virtual column .
copy
self
df
A vaex DataFrame.
A vaex DataFrame .