小编dkl*_*kla的帖子

在 Rust 中写出 Polars-Lazy 表达式

我需要在 Polars_lazy 中编写自己的表达式。根据我对源代码的理解,我需要编写一个返回 Expr::Function 的函数。问题是为了构造这种类型的对象,必须提供 FunctionOptions 类型的对象。需要注意的是,这个类是公共的,但成员是 pub(crate) 的,因此在 create 之外无法构造这样的对象。有办法解决这个问题吗?

rust rust-polars

5
推荐指数
1
解决办法
1086
查看次数

标签 统计

rust ×1

rust-polars ×1