Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
141 results
Sorted by:
2022.10.25
09:35 AM
2022.10.11
07:34 AM
In below code, a1 doesn't work. Any ideas why?
myObj: (5 7; (`a; `b ; (4 5))); a3:.[myObj; 1 2 1; {count x}]; // i.e. ((5 7);(`a;`b;4 1)) a2:.[myObj; 1 2; {count x}]; // i.e. ((5 7);(`...
Labels:
- Labels:
-
datatypes
2022.10.11
03:55 AM
In the below code, I can understand the meaning of (<), but cannot understand the meaning of (';~:;<). Why line 3 keeps 4 rows, while line 4 keeps 6 rows? What is the meaning of "~:" here?...
Labels:
- Labels:
-
operators
2022.10.02
06:18 AM
1 Kudo
Hello everyone,
We are a data centric startup that collects information over various channels on the web, and we aim to help buisnesses to use that info to their advantage in various ways.
We are...
2022.09.15
03:09 AM
I remember in q, we can assign a temporary variable during select and use it again in the same column, but seems it is not working.
For example,
select (total+5)%(total:a+b) from t
this should ...
2022.09.05
02:07 AM
...2
?
c1
prev c2
30
10
10
10>0 (True)
OR
No need of evaluation
?
10
40
20
20
&n...
Labels:
- Labels:
-
execution control
-
iterators
-
operators
2022.08.29
04:36 AM
Follows https://code.kx.com/q/basics/peach/,
The result of m':[x] is exactly the same as m'[x] . If no secondary tasks are available, performance is the same as well.
but m...
Labels:
- Labels:
-
iterators
2022.08.21
09:04 PM
hi, is there a function to compute rolling linear regression (multiple independent variables) for a q table?
I am looking for something like https://www.statsmodels.org/dev/generated/...
2022.08.19
02:28 AM
I have the below code, in which the result of wj and wj1 are exactly the same. Is there an example that wj and wj1 would give different output? From the documentation I can see that the 2 functi...
Labels:
- Labels:
-
keywords
2022.08.18
07:11 PM
hi, how can I swap key and list of values using q? Thanks!
python version: https://stackoverflow.com/questions/51740270/python-dictionary-swap-keyvalue-pair-when-values-exist-in-mutiple-keys
...