请问一下,dolphindb中delimiter能是tab符么?

王俊永
  • 709

请问一下,在DolphinDB database中如下代码:

t1=table(1..6 as id,2..7 as v, 3..8 as v1, 4..9 as v2, 5..10 as v3 );
saveText(t1, "trades.txt","\t");

执行以上语句报错:
Error Message: Usage: saveText(obj, filename, [delimiter=','], [append=false]). The delimiter must be a character.

回复
阅读 870
1 个回答
✓ 已被采纳

双引号改成单引号即可

saveText(t1, "trades.txt",'\t');
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏