exxeleron / qPython

interprocess communication between Python and kdb+
http://www.devnet.de
Apache License 2.0
152 stars 89 forks source link

Nested lists #17

Closed sugarmoose closed 9 years ago

sugarmoose commented 9 years ago

Hi,

Having an issue with nested lists - is there specific qtable metadata that needs adding to the query call to allow numpy to take in nested lists?

cheers, David

qConnection("([] a:1000#`a; b:1000#enlist til 10)")

ValueError: array-shape mismatch in array 1

/usr/local/lib/python2.7/dist-packages/numpy-1.9.0-py2.7-linux-x86_64.egg/numpy/core/records.py(562)fromarrays() 561 if testshape != shape: --> 562 raise ValueError("array-shape mismatch in array %d" % k) 563

sugarmoose commented 9 years ago

Just awesome, I failed desperately after trying a couple of hours to patch qcollection. Cheers! On 7 Nov 2014 12:42, "Maciej Lach" notifications@github.com wrote:

Closed #17 https://github.com/exxeleron/qPython/issues/17 via eefca74 https://github.com/exxeleron/qPython/commit/eefca74768838c6c587947729a075b4174ed080c .

— Reply to this email directly or view it on GitHub https://github.com/exxeleron/qPython/issues/17#event-189895782.