We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Possibly related to #129
import riptable as rt rt.__version__ ds = rt.Dataset({'a': rt.Cat([0, 1, 0, 1]), 'b': rt.Cat([1, 1, 0, 0]), 'x': rt.arange(4), 'y': rt.arange(4)**2+1}) print('wrong:') print(rt.Accum2(rt.Cat([ds['a'], ds['b']], sort_display=True), ds['x']).sum(ds['y'])) print('correct, but unsorted:') print(rt.Accum2(rt.Cat([ds['a'], ds['b']]), ds['x']).sum(ds['y']))
'1.0.58' wrong: *a *b 0 1 2 3 Total -- ----- - - - -- ----- 0 0 1 0 0 0 1 . 1 0 2 0 0 2 1 0 0 0 5 0 5 . 1 0 0 0 10 10 -- ----- - - - -- ----- Total 1 2 5 10 18 correct, but unsorted: *a *b 0 1 2 3 Total -- ----- - - - -- ----- 0 1 1 0 0 0 1 1 1 0 2 0 0 2 0 0 0 0 5 0 5 1 0 0 0 0 10 10 -- ----- - - - -- ----- Total 1 2 5 10 18
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Possibly related to #129
The text was updated successfully, but these errors were encountered: