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

IntColumn Stats Diff #279

Merged
merged 9 commits into from
Jun 24, 2021
Merged

IntColumn Stats Diff #279

merged 9 commits into from
Jun 24, 2021

Conversation

grant-eden
Copy link
Contributor

The only stats int has are numerical stats, so the difference function is pretty small

@@ -247,7 +247,7 @@ def _add_helper(self, other1, other2):
if "num_negatives" in self.__calculations.keys():
self.num_negatives = other1.num_negatives + other2.num_negatives

def _diff_helper(self, other_profile):
def diff(self, other_profile, options=None):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ultimately renamed so the int column can just inherit this function instead of the int column creating its own. No reason for it to be private either.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And allowing options for future use.

@JGSweets JGSweets merged commit 2b7b01a into capitalone:main Jun 24, 2021
stevensecreti pushed a commit to stevensecreti/DataProfiler that referenced this pull request Jun 15, 2022
* Welcome to the best commit you've ever seen

* This is almost ready. The code is still cooking

* Some NICE code.
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.

3 participants