s.unsubscribe(host,port,tableName,actionName=None) 阅读下python api文档吧:https://gitee.com/dolphindb/api_python3
回答于 2023-08-30 09:54
使用 typestr table_data.write_time 检查下是否是INT vector。
回答于 2023-08-30 09:52
可以使用dropNa https://www.dolphindb.cn/cn/help/FunctionsandCommands/FunctionReferences/d/dropna.html?highlight=dropna
回答于 2023-08-18 17:45
@jitdef DTWDistance2(s1, s2){ inf = 999999999999 size1=size(s1) size2=size(s2) if(size1 * size2 < 0){ return -1.0 //overflow } dtw = array(DOUBLE, size1*size2) for(i in 0:size(s1)) dtw[i*size2] = inf for(j in 0:size(s2)) dtw[j*size1] = inf dtw[0]=0 for (i...
回答于 2023-07-14 17:15
def existsStreamTable(tableName){ t = select * from objs(true) where type="REALTIME" and name = tableName return t.size() == 1 } 以上函数可以达到这个效果,存在返回 true
回答于 2023-07-10 10:52