Closed vincentleung58 closed 7 years ago
In the next version of pyq we are implementing auto-conversion of dimensional numpy arrays to q nested lists:
>>> q.x = numpy.zeros((2,2,3))
>>> q.x
k('((0 0 0f;0 0 0f);(0 0 0f;0 0 0f))')
and back
>>> numpy.array(q.x)
array([[[ 0., 0., 0.],
[ 0., 0., 0.]],
[[ 0., 0., 0.],
[ 0., 0., 0.]]])
Has anyone seen examples of passing numpy/panda matrices into KDB and vice versa?