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

FloatFormatter does not round the data correctly for integer columns when using _set_fitted_parameters #875

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

R-Palazzo
Copy link
Contributor

CU-86b1w6d98
Resolve #874

@R-Palazzo R-Palazzo self-assigned this Aug 27, 2024
@R-Palazzo R-Palazzo requested a review from a team as a code owner August 27, 2024 08:02
@@ -236,8 +236,9 @@ def _set_fitted_parameters(
self._min_value = min(min_max_values)
self._max_value = max(min_max_values)

if rounding_digits:
if rounding_digits is not None:
Copy link
Member

Choose a reason for hiding this comment

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

Good catch on this error.

@R-Palazzo R-Palazzo merged commit 50cb707 into main Aug 28, 2024
94 checks passed
@R-Palazzo R-Palazzo deleted the issue-874-rounding-0 branch August 28, 2024 06:53
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.

FloatFormatter does not round the data correctly for integer columns when using _set_fitted_parameters
4 participants