hyfi.pipe
dataframe_external_funcs(data, config)
Applies a dataframe external function to a dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data
|
DataFrame
|
The dataframe to apply the function to. |
required |
config
|
DataframePipeConfig
|
The configuration for the pipeline. |
required |
Returns:
Type | Description |
---|---|
pd.DataFrame: The dataframe with the function applied. |
Source code in hyfi/pipe/pipes.py
dataframe_instance_methods(data, config)
Applies a dataframe instance method to a dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data
|
DataFrame
|
The dataframe to apply the method to. |
required |
config
|
DataframePipeConfig
|
The configuration for the pipeline. |
required |
Returns:
Type | Description |
---|---|
pd.DataFrame: The dataframe with the method applied. |
Source code in hyfi/pipe/pipes.py
general_external_funcs(obj, config)
Applies a general external function to an object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
obj
|
Any
|
The object to apply the function to. |
required |
config
|
PipeConfig
|
The configuration for the pipeline. |
required |
Returns:
Name | Type | Description |
---|---|---|
Any |
The object with the function applied. |
Source code in hyfi/pipe/pipes.py
general_instance_methods(obj, config)
Applies a general instance method to an object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
obj
|
Any
|
The object to apply the method to. |
required |
config
|
PipeConfig
|
The configuration for the pipeline. |
required |
Returns:
Name | Type | Description |
---|---|---|
Any |
The object with the method applied. |