Use of LazyFrames for Polars implementation
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- data, performance
调研方向
从 AgentSetPolars 和 PolarsMixins 开始,然后阅读链接的 Polars lazy 与 eager API 参考,以了解预期的查询优化。将当前的 eager 操作与提议的 lazy 工作流进行比较,并在开始前查看 pull request #144。完成的标准是:实现会在适当的地方使用 LazyFrames,同时不改变其现有行为。
由索引模型根据 Issue 内容生成。
描述
Polars has a lazy API, which allows for query optimization. Currently, AgentSetPolars and PolarsMixins are implemented with the eager API, which may lead to a significant performance loss. Collection could be done at each step.
References:
- 主要语言
- Python
- 星标
- 44
- 派生
- 20
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mesa/mesa-frames 的其他 Issue
-
[Bug]: Setting a column on an empty AgentSet fails with polars 2.x (ShapeError); CI on main is red未关闭
难度 3/5 1-2 天 新手友好度 74/100
mesa/mesa-frames#207 ·
-
[Bug]: Registering an empty AgentSet in Model.sets raises ColumnNotFoundError for "unique_id"可能已有人在做 @Jay-Naik2526 今天认领。 未关闭bug triage
难度 3/5 1-2 天 新手友好度 35/100
mesa/mesa-frames#204 ·
-
难度 5/5 一周以上 新手友好度 25/100
mesa/mesa-frames#186 · 10 条评论 ·
-
feature triage
难度 3/5 1-2 天 新手友好度 45/100
mesa/mesa-frames#177 · 1 条评论 ·
-
[Bug]: Solving polars Deprecation warnings for `is_in`可能已有人在做 @adamamer20 于 432 天前认领。 未关闭bug good first issue maintenance Sprints!
mesa/mesa-frames#174 · 2 条评论 · 已指派 1 人 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
didi/helixharness#18 ·
-
request-theme
难度 1/5 1 小时以内 新手友好度 78/100
LizardByte/ThemerrDB#9883 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#149885 ·
维护者通常 1 天内回复
-
Set cache_ok = True on GUID TypeDecorator to enable SQLAlchemy query caching可能已有人在做 @patelshivani2283-lab 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 91/100
fedora-infra/anitya#2157 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
Project-MONAI/MONAI#9258 ·
维护者通常 3 天内回复