a3e7204855a76e143a40073236c6254609f2303a,pdpipe/basic_stages.py,ColDrop,_transform,#ColDrop#Any#Any#,50

Before Change


            self._get_columns(df, fit=True), axis=1, errors=self._errors)

    def _transform(self, df, verbose):
        return df.drop(
            self._get_columns(df, fit=False), axis=1, errors=self._errors)


class ValDrop(PdPipelineStage):
    A pipeline stage that drops rows by value.

After Change


        return self._call_helper(df, verbose, fit=True)

    def _transform(self, df, verbose):
        return self._call_helper(df, verbose, fit=False)


class ValDrop(ColumnsBasedPipelineStage):
    A pipeline stage that drops rows by value.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: shaypal5/pdpipe
Commit Name: a3e7204855a76e143a40073236c6254609f2303a
Time: 2020-02-05
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: ColDrop
Method Name: _transform


Project Name: shaypal5/pdpipe
Commit Name: a3e7204855a76e143a40073236c6254609f2303a
Time: 2020-02-05
Author: shaypal5@gmail.com
File Name: pdpipe/basic_stages.py
Class Name: ColDrop
Method Name: _fit_transform


Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tpot/operators/preprocessors/base.py
Class Name: Preprocessor
Method Name: _fit_transform


Project Name: EpistasisLab/tpot
Commit Name: 2ab8c1444facbd46df8767a5badda5b9f1a50c29
Time: 2016-08-01
Author: supacoofoo@gmail.com
File Name: tpot/operators/selectors/base.py
Class Name: Selector
Method Name: _fit_mask