eflow.data_pipeline_segments.feature_transformer¶
Functions
|
Checks if feature exists in the dataframe. |
|
Get a the parameters of a given function definition |
Classes
|
Holds the function name’s and arguments to be pushed to a json file. |
|
Combines, removes, scales, etc features of a pandas dataframe. |
-
class
FeatureTransformer
(segment_id=None, create_file=True)[source]¶ Combines, removes, scales, etc features of a pandas dataframe.
-
remove_features
(df, df_features, feature_names, _add_to_que=True)[source]¶ Removes unwanted features from the dataframe and saves them to the pipeline segment structure if _add_to_que is set to True.
- Args:
- df:
Pandas Dataframe to update.
- df_features:
DataFrameTypes object to update.
- feature_names:
Features to remove
- _add_to_que:
Pushes the function to pipeline segment parent if set to ‘True’.
-