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

create_categorical from unbound copy of an array is incorrect #258

Open
jamesrkg opened this issue Jul 6, 2018 · 0 comments
Open

create_categorical from unbound copy of an array is incorrect #258

jamesrkg opened this issue Jul 6, 2018 · 0 comments

Comments

@jamesrkg
Copy link

jamesrkg commented Jul 6, 2018

This works as expected:

  1. Unbind categorical array
  2. create_categorical using derivations referencing newly unbound variables

This doesn't work as expected:

  1. Create a copy of a categorical array (using copy_variable(..., derived=False))
  2. Unbind the copied categorical array
  3. create_categorical using derivations referencing newly unbound variables

In the second scenario the frequencies of the derived categorical are clearly incorrect. I have examples demonstrating both of these that I can share with whoever picks up the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant