-
Notifications
You must be signed in to change notification settings - Fork 15
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
Feature/equality transformer #245
Conversation
Looks good! could you also:
|
Hey @limlam96 - forgot changelog again!!! Updated now, and added inheritance from new base class to equality checker transformer (don't think date transformers have been refactored to use two cols yet) |
tubular/comparison.py
Outdated
@@ -31,7 +31,7 @@ def __init__( | |||
drop_original: bool = False, | |||
**kwargs: dict[str, bool], | |||
) -> None: | |||
super().__init__(columns=columns, **kwargs) | |||
super().__init__(columns=columns, new_col_name=new_col_name, **kwargs) | |||
|
|||
if not (isinstance(columns, list)): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can now delete lines 36:46 :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooo yes, thanks!
Picked up second aspect of this ticket - #204
Added an additional base class for two columns transformers and an associated test script which inherits from TwoColum Init in base tests. Might have missed the mark a little on this one, so have set up as a draft.