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

Introduction: count unique error #14

Open
aozgaa opened this issue Dec 21, 2020 · 1 comment
Open

Introduction: count unique error #14

aozgaa opened this issue Dec 21, 2020 · 1 comment

Comments

@aozgaa
Copy link

aozgaa commented Dec 21, 2020

Similar to the previous issue, I see an error trying to count unique combinations:

> k
l2020.12.20 7GB 6core (c)shakti 2.0
 n:10000                     / n data points
  s:`a`b`c                    / data for symbols a, b, and c
  q:+s!(-1+n?3;-1+n?3;-1+n?3) / table of returns (-1,0,1) for each symbol
 #'=+(+q)[]                  / count each unique a/b/c combination
fky
#'=+(+q)[]                  / count each unique a/b/c combination
^
!nyi
@estradajke
Copy link
Owner

Hi Arthur.

Unfortunately group on list is currently not working. I expect it'll come back soon so generally leave the doc out-of-sync to the language. I'll leave this error open until it's fixed. If that doesn't happen soon then I'll modify the doc.

=1 2 3 1 2 1 / will work
=(1 2;1 2; 1 3) / not yet implement (NYI)

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

No branches or pull requests

2 participants