-
pykx is returning different output compared to embedQ
I have recently switched from embedPyb to PyKX.
I had a function called decodeBuffer which was outputing colls like in image1But now after the transition it outputs col where all string values are symbols.
The only thing that changed was the addition of this function:
.util.convertBytesToString:.pykx.eval[“lambda x: x.tobytes().decode(‘UTF-8’)”];
I am not sure if the above change is what is causing this or a change in the way pyKx is output data, but it is the only thing that change. image2 shows the code changed from before pykx to after pykx
decodeFlatBuffer now outputs what you can see in Image3.
I could cast them all to string, but some of the columns are much more complex than what you can see in the image
Log in to reply.