KX Community
News & Events
Discussion Forums
Help
Sign In
BaiChen
New Contributor II
since
2022.07.29
4 weeks ago
User Statistics
10
Posts
3
Solutions
6
Kudos given
14
Kudos received
View all badges
KX Community
:
About BaiChen
User Activity
Posts
Replies
No posts to display.
Re: Challenge 1 - Triangle Font
2023.02.02
q){b:first x+1;b#x+1}\[8;1] 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8
Re: Unpack nested column in table
2022.08.23
I guess you mean: (flip enlist[`a]!enlist[t `a]),'flip `b1`b2`b3!flip t `b a b1 b2 b3 ---------- 1 4 5 6 2 6 12 23 3 12 36 14
Re: Unpack nested column in table
2022.08.23
select a:a ,b1:b[;0],b2:b[;1],b3:b[;2] from t a b1 b2 b3 ---------- 1 4 5 6 2 6 12 23 3 12 36 14
Re: rolling linear regression in q
2022.08.22
Wrapped them into function: tabData:([]y:10?100.0;x1:10?10.0;x2:10?20.0;x3:10?30.0;const:1.0); main:{[n;y;xs;tab] rolling:{[w;t] (w-1)_({ 1_x,y }\[w#delete from t;t])}; fn:{[t;Y;X] yx:enlist t[Y] mmu flip t[`const,X];xx:x mmu flip[x:t[`const,X]];yx l...
Re: rolling linear regression in q
2022.08.21
tData:([]y:10?100.0;x1:10?10.0;x2:10?20.0;x3:10?30.0;const:1.0) tData y x1 x2 x3 const ------------------------------------------- 8.226874 2.037285 8.538354 16.01854 1 51.32018 7.757617 15.40955 28.16125 1 49.47829 0.6938325 0.3188056 9.083402 1 86....
View more
Kudos from
User
Count
kdb_newbie
1
megan_mcp
1
SJT
1
powerpeanuts
2
gdickson
1
View all
Kudos given to
User
Count
SJT
2
megan_mcp
1
cillianreilly
1
rocuinneagain
1
Denakaran
1
View all