【发布时间】:2021-06-28 03:16:45
【问题描述】:
查入数据库报错,代码如下
import dolphindb as ddb
s = ddb.session()
s.connect("localhost", 24115,"admin", "123456")
x = s.loadTable(tableName="pt",dbPath="dfs://db1")
下面的错误信息
C:\Users\test\anaconda3\lib\site-packages\dolphindb\session.py:69: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
return self.cpp.run(script, *args)
为什么
【问题讨论】: