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

Add diff for FloatColumn #300

Merged
merged 4 commits into from
Jun 30, 2021
Merged

Add diff for FloatColumn #300

merged 4 commits into from
Jun 30, 2021

Conversation

andrew-yin
Copy link
Contributor

FloatColumn inherits diff() from NumericalStatsMixin, so all there is to do is test to ensure this inheritance behaves properly.

Copy link
Contributor

@JGSweets JGSweets left a 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

@JGSweets JGSweets enabled auto-merge (squash) June 29, 2021 21:16
auto-merge was automatically disabled June 29, 2021 22:06

Head branch was pushed to by a user without write access

:return: the FloatColumn differences
:rtype: dict
"""
differences = super().diff(other_profile, options=None)
Copy link
Contributor

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.

Copy link
Contributor

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

grant-eden
grant-eden previously approved these changes Jun 30, 2021
@grant-eden grant-eden merged commit 79e0ae7 into capitalone:main Jun 30, 2021
stevensecreti pushed a commit to stevensecreti/DataProfiler that referenced this pull request Jun 15, 2022
* Add tests

* Add precision to diff

* Add specificity to diff parent method call

* Simplified test
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.

4 participants