JP,Try this one:q)(hsym `$a) {.Q.dd[x;] each y}' `$bHTH,Pawel
Tryfon2014-03-26 9:50 GMT+01:00 Manish Patel :>as
I do not know a priori which elements of listYou would have to do a
"type each b" to figure out where you have a character array and enlis...
It's easier if a and b have elements of uniform type so:q)a:enlist each
("a0";"a1";"a2")q)b:(("b00";"b01");("b10";"b11";"b12");enlist
"c20")q)raze raze a (;)/:\:' b"a0" "b00""a0" "b01""a1" "b10""a1"
"b11""a1" "b12""a2" "c20"HTH,Pawel Tryfon2014-03-25...
Ad.1: Knowing that t is a keyed table (99h=type t) you can do cols key
t.Ad.2: .Q.qp function reference says 1b if given a partitioned table,
0b if given a splayed table, and 0 for anything else.HTH,Pawel
Tryfon2014-02-18 10:07 GMT+01:00 David Bieber...
David,Please take a look at
http://code.kx.com/wsvn/code/contrib/ptryfon/util/csv.q. .csv.chunkSave
function saves table to .csv file in chunks so it uses memory more
sparingly. Example
usage:t:([]sym:10000?`4;f:10000?10f).csv.chunkSave[`:t.csv;t;100...
Doexport
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/lib/directoryHTH,Pawel
Tryfon2013/12/22 Adnan G echo
$LD_LIBRARY_PATHproduces nothing, so it's empty right? How would I add
the location? Do I just export ~/q/ to the name of the variable?