-
Notifications
You must be signed in to change notification settings - Fork 317
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
Do not enforce min/max on sequence index column #2043
Conversation
sdv/sequential/par.py
Outdated
if sequence_index_transformer.enforce_min_max_values: | ||
sequence_index_transformer.enforce_min_max_values = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a user updated the sequence index transformer and set enforce_min_max_values
to True
, would this ignore that? It might be better to only change the transformer when it's been automatically assigned, so that way if a user modifies it we don't overwrite their change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good! I moved it into a overridden auto_assign_method
so it's always after being auto assigned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
resolves #2031
CU-86b0me61g
Do not enforce min/max on sequence index column so it does not cause duplication of the seq_index