一个表有ID、EG1、EG3、EG3共4个字段,想变成ID、EG2个字段,使得行数变成原来三倍,列数从4列变成2列,请问在DolphinDB有什么办法?
t=table(1 as id,1.0 as EG1,2.0 as EG2,3.0 as EG3) t1=select id,EG1 as EG from t t2=select id,EG2 as EG from t t3=select id,EG3 as EG from t unionAll([t1,t2,t3],false)
2.1m questions
2.1m answers
60 comments
57.0k users