不知道这是不是想要的
假设 ANY DICTIONARY 是 string -> int
d = {a: 1, b: 2}
tbl = table(d.keys() as k ,d.values()$INT as v)
edit :
如果要用 ANY DICT 的 key 做 column name 的话:
tbl = table(0:2, d.keys() , `INT`INT)
参考:https://www.dolphindb.cn/cn/help/130/FunctionsandCommands/FunctionReferences/t/table.html