我在DolphinDB database的GUI中运行下列代码:
x=(int128("2e8ca9773da3a99f2c87a623ac34f242"),int128("2e8ca9773da3a99f2c87a623ac34f243"))
y=1..2
dict(x, y);
报异常:
dict(x, y) => The key type can't be BOOL, ANY or DICTIONARY
请问为什么不行?
###要用中括号,圆括号是tuple
x=[int128("2e8ca9773da3a99f2c87a623ac34f242"),int128("2e8ca9773da3a99f2c87a623ac34f243")]
y=1..2
dict(x, y);