问题 What is the best way to save a pandas dataframe in kdb? Are there any libraries that can make it easier? The below code can apparently be used to loas something from kdb, but how do I save a dataframe into it? from qpython import qconnection with qconnection.QConnection(host = 'localhost', port = 5001, pandas = True) as q: ds = q('(1i;0Ni;3i)', pandas = True) print(ds) 回答1: To save a dataframe in KDB+ with qPython one can use the sync method of the QConnection class. Set the first parameter