Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order output columns in PandasTransformComponent #276

Merged
merged 2 commits into from
Jul 6, 2023

Conversation

RobbeSneyders
Copy link
Member

Fixes #275

Copy link
Contributor

@PhilippeMoussalli PhilippeMoussalli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Robbe :)

return dataframe
@staticmethod
def wrap_transform(transform: t.Callable, *, spec: ComponentSpec) -> t.Callable:
def wrapped_transform(dataframe: pd.DataFrame) -> pd.DataFrame:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you re-add the deleted docstring

"""Method wrapping the transform method to switch between hierarchical and flattened
columns.
"""

@RobbeSneyders RobbeSneyders merged commit 9364802 into main Jul 6, 2023
@RobbeSneyders RobbeSneyders deleted the feature/column-ordering branch July 6, 2023 09:45
Hakimovich99 pushed a commit that referenced this pull request Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ordering of columns should not be validated
2 participants