Skip to content

Conversation

e-strauss
Copy link
Contributor

[SYSTEMDS-3741] Python API Builtin countDistinctApprox

This patch adds the builtin operator for countDistinctApprox to the python api.

elif axis is None:
return Scalar(self.sds_context, 'countDistinctApprox', [self])
raise ValueError(
f"Axis has to be either 0, 1 or None, for column, row or complete {self.operation}")
Copy link
Contributor

Choose a reason for hiding this comment

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

similarly here, we are missing a test case for the error.

@e-strauss e-strauss force-pushed the MISSING_BUILTIN_COUNT_DISTINCT_APPROX branch from 39fae8d to 052ffc1 Compare September 3, 2024 14:34
@Baunsgaard Baunsgaard closed this in 3d24441 Sep 3, 2024
@Baunsgaard
Copy link
Contributor

LGTM, and Merged

@e-strauss e-strauss deleted the MISSING_BUILTIN_COUNT_DISTINCT_APPROX branch September 4, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants