摘要: 反选: pl.col('*').exclude('date') 聚合:df.groupby(['date','code']).agg() 透视: pivot() 宽格式转化为长格式:melt 分组计算:with_columns([(1/pl.col('code').count()).over('da 阅读全文
posted @ 2025-08-05 11:21 LazyTiming 阅读(21) 评论(0) 推荐(0)