910adfb9b78ee60d9162a575fd068744a282f294,pdpipe/core.py,PdPipeline,apply,#PdPipeline#,385
Before Change
def apply(self, df, exraise=None, verbose=False):
inter_df = df
for stage in self._stages:
inter_df = stage.apply(inter_df, exraise, verbose)
return inter_df
def fit_transform(self, X, y=None, exraise=None, verbose=None):
Fits this pipeline and transforms the input dataframe.
After Change
raise NotImplementedError
def apply(self, df, exraise=None, verbose=False):
if self.is_fitted:
return self.transform(X=df, exraise=None, verbose=verbose)
return self.fit_transform(X=df, exraise=exraise, verbose=verbose)
def fit_transform(self, X, y=None, exraise=None, verbose=None):
Fits this pipeline and transforms the input dataframe.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: shaypal5/pdpipe
Commit Name: 910adfb9b78ee60d9162a575fd068744a282f294
Time: 2020-01-26
Author: shaypal5@gmail.com
File Name: pdpipe/core.py
Class Name: PdPipeline
Method Name: apply
Project Name: etal/cnvkit
Commit Name: 699cb4d8ab7365b3a20ddd3de56a2a0ecc8b0046
Time: 2018-02-14
Author: eric.talevich@gmail.com
File Name: skgenome/tabio/gff.py
Class Name:
Method Name: read_gff
Project Name: IBM/AIF360
Commit Name: b833551020a6ab4d33acc41073853c15f2556216
Time: 2020-02-19
Author: hoffman.sc@gmail.com
File Name: aif360/sklearn/datasets/utils.py
Class Name:
Method Name: standarize_dataset