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

stable=true may be ignored in some cases in gatherby #100

Closed
sl-solution opened this issue Mar 11, 2023 · 0 comments
Closed

stable=true may be ignored in some cases in gatherby #100

sl-solution opened this issue Mar 11, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sl-solution
Copy link
Owner

x = string.([1,2,3,1,2,4])
y = copy(x)
f = [1000; fill(1, 5)]
ds = Dataset(x=x, y=y, f=f)
repeat!(ds, freq=:f)
combine(gatherby(ds, 1:2, stable = true), 1 => first)[:, :x] == string.([3,4,1,2]) # which is wrong!
@sl-solution sl-solution added the bug Something isn't working label Mar 11, 2023
sl-solution added a commit that referenced this issue Mar 11, 2023
sl-solution added a commit that referenced this issue Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant