This might not be directly relevant to kdb/q, as qpython is a third-party library. Let’s say we have a QDictionary qdict in python. How can we send this dictionary to kdb?
https://qpython.readthedocs.io/en/latest/type-conversion.html#dictionaries
pseudo code:
qdict = QDictionary(qlist(numpy.array([1,2],dtype=numpy.int64),qtype=QLONG\_LIST),qlist(numpy.array(['abc','cdefgh']),qtype=QSYMBOL\_LIST))
withqconnection.QConnection(host='localhost',port=5000)asq:
q('mydict:', qdict)