代码如下,通过计算字段
SCRIPT_INT("import calendar from datetime import datetime result = [] i = 0 for every in _arg1: monthRange = calendar.monthrange(_arg1[i],_arg2[i]) result.append(monthRange[1]) i=i+1 return result",ATTR(YEAR([交易日期])),ATTR(month([交易日期])))
网友评论