请问 panel 函数指标列 metrics 如果要传入一个变量应该怎么写?
给定列名,直接通过列名索引得到对应列即可
t = table(1 1 2 2 2 3 3 as id, 2020.09.01 + 1 3 1 2 3 2 3 as date, 1..7 as factor1, 4..10 as factor2);metrics=["factor1", "factor2"]panel(t.date, t.id, t[metrics], 2020.09.02 2020.09.03, 1 2)