1
的列中选择说我有一个表列出我怎么能与列出
q)t:([]x:10?1.;y:10?`a`b`c;z:10#enlist`a`b)
q)t
x y z
----------------
0.1627662 b a b
0.6884756 b a b
0.8177547 a a b
0.7520102 b a b
0.1086824 c a b
0.9598964 c a b
0.03668341 a a b
0.6430982 a a b
0.6708738 b a b
0.6789082 a a b
我如何可以选择行where y in z
的列?
为什么F ***我得到-1和近距离投票?这是完全合法的问题!通常从t中选择,其中y在z中不起作用,因为z是列表的列表... – statquant
请注意'in',因为它对等级敏感。如果你的'z'col有嵌套列表,那么你可能不会得到期望的结果。请查看:https://groups.google.com/forum/#!searchin/personal-kdbplus/behaviour%7Csort:relevance/personal-kdbplus/2L5tMOVKung/-OtW_wlpPFAJ。 – Rahul