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 Rounding constraint #482

Closed
katxiao opened this issue Jun 25, 2021 · 0 comments · Fixed by #484
Closed

Add Rounding constraint #482

katxiao opened this issue Jun 25, 2021 · 0 comments · Fixed by #484
Assignees
Labels
feature request Request for a new feature
Milestone

Comments

@katxiao
Copy link
Contributor

katxiao commented Jun 25, 2021

Problem Description

To make the data look more realistic, we should round floats based on the user's specification. Sometimes, there are a set # of digits after the decimal. Other times, numbers might be to the nearest 100 or 1000.

Expected behavior

Add a Rounding constraint class that rounds floats based on the user's specification. Users should be able to specify the list of columns it needs to round, and how much to round each column.

@katxiao katxiao added feature request Request for a new feature pending review labels Jun 25, 2021
@katxiao katxiao self-assigned this Jun 25, 2021
@csala csala closed this as completed in #484 Jul 2, 2021
@csala csala added this to the 0.11.0 milestone Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants