-
Notifications
You must be signed in to change notification settings - Fork 169
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
Add diff for FloatColumn #300
Conversation
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.
We should also add the diff for the precision dict. No need to include confidence interval
Head branch was pushed to by a user without write access
:return: the FloatColumn differences | ||
:rtype: dict | ||
""" | ||
differences = super().diff(other_profile, options=None) |
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.
I'm adding a general diff in the base column class so I think you will need to be specific that this is the Numerical Stats super.
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.
otherwise looks good to me
* Add tests * Add precision to diff * Add specificity to diff parent method call * Simplified test
FloatColumn inherits diff() from NumericalStatsMixin, so all there is to do is test to ensure this inheritance behaves properly.