筛选器在直连数据中对底层数据进行筛选:

where 1=1
${if(len(平台)=0,"","and 平台 in ('" + 平台 + "')")}
${if(len(灰度)=0,"","and 灰度 in ('" + 灰度 + "')")}
A','B','C
1','0

交叉表使用,实现新增列

a=zy_sh.shape[1]+1
col=zy_sh.columns[6:a]
tmp=pd.melt(zy_sh,id_vars=['bins','name','binPct','badRate','IV','KS'],value_vars=col,var_name="日期")
tmp['binPct']=tmp['binPct'].apply(lambda x:format(x,'.2%'))
tmp['badRate']=tmp['badRate'].apply(lambda x:format(x,'.2%'))
tmp

表达式更新

0 0 0,10,18,21 * * ? 每天指定四小时更新。
网址:https://help.fanruan.com/finebi/doc-view-2130.html。