Xiaohua Zhou
Xiaohua Zhou

性别: 注册于 2021-09-08

向TA求助
20金币数
110 经验值
0个粉丝
主页被访问 1745 次

8 个回答

0 赞同

怎么翻转内存表记录

t=table(`A1`A2`A3 as col1,`B1`B2`B3 as col2,`C1`C2`C3 as col3) t[t.size() : 0]

回答于 2022-10-21 21:32

0 赞同

dolphindb中如何实现类似python中的join方法

concat(string(1..5) + "D", ',')

回答于 2022-10-21 21:16

0 赞同

请问怎么把字典转换成表

在DolphinDB中,对字典转置,得到一个table。 transpose(d)

回答于 2022-10-21 21:13

0 赞同

DolphinDB有没有类似SQL中sum(字段)over(partition by 字段 orde...

select id, gap, msum(score, 2, 1) as total from t context by id csort score desc

回答于 2022-10-21 21:07

0 赞同

semiMonthBegin函数的使用,请问是否有什么办法可以方便的按旬进...

 select avg(price), sum(qty) from t1 group by date - (dayOfMonth(date) - 1) % 10 as xun

回答于 2022-01-23 22:23

0 赞同

dolpindb除法和精度严重BUG

浮点数都是有精度的。出现 26380.000000000094587这样的数字,整数后面跟一个非常小的小数,是正常的。所以浮点数的比较需要考虑精度。

回答于 2021-10-19 09:18

1 赞同

Reactive State engine with TA module problem

bBands in TA module is not a state function. Therefore can't directly use in reactive engine. I slightly modify the code and adapt it to a state function as follows: @statedef bBands(close, timePeriod, nbdevUp, nbdevDn){    mid = mavg(close, timePeriod)    md = mstdp(close, timePeriod)    return (...

回答于 2021-09-10 22:59

0 赞同

Dolphindb如何转换成Time类型,比如17转化为17:00:00

DolphinDB中的时间类型内部是用一个整型表示的。因此直接生成相应的整数,然后转化成相应的时间类型最为高效。 a = 17 15 second(a * 3600)

回答于 2021-09-08 00:20