百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

polars

> 编程语言
开源

用 Rust 编写的用于 DataFrame 的极其快速的查询引擎

39.2K stars0 点赞3 次浏览
访问官网GitHub

工具介绍

用 Rust 编写的用于 DataFrame 的极其快速的查询引擎

<h1对齐="中心"> <a href='https://pola.rs">(英语:ZZURL0 ZHZ) 维基语录链接:名人名言 - 文学作品 - 谚语 - 谚语

(简体中文)

(韩语)

<p对齐="中心"> 文档: <a href=' https://docs.pola.rs/api/python/stable/reference/index.html">Python

  • 说吧

<a href='https://docs.rs/polars/latest/polars/">Rust

  • 说吧

<a href='https://pola-rs.github.io/nodejs-polars/index.html">Node.js

  • 说吧

<a href=' https://pola-rs.github.io/r-polars/index.html">R | 代理 : <a href=' https://github.com/polars-inc/skills/tree/main/polars">Skill

  • 说吧

<a href='https://docs.pola.rs/user-guide/misc/polars_llms/">MCP | <a href='https://docs.pola.rs/">User指南 | <a href=' https://discord.gg/4UfP5cfBE7">Discord

(中文(简体) ).

□ 极地: 极快的查询引擎

极地是DataFrames的一个分析查询引擎,用Rust来写. 设计得很快 易于使用和表达。 主要特点是:

  • 快活:从地上写入Rust,执行多段、矢量(SIMD)
  • ** Lazy & 急切执行**:在框外优化查询
  • Larger-than-RAM:流动引擎处理不符合内存的数据集
  • ** Expressive API**:用强势表达式编写复杂的查询
  • ** 可扩展**:通过自定义代码在本土扩展极地 [I/O和表达式插件] (ZZURL9Z).
  • ** 多语文**:Python、Rust、Node.js、R和SQL装订
  • GPU支持:可选地加快NVIDIA GPU的查询
  • ** 互可操作性**:使用 (ZZURL10Z)零拷贝 数据共享

欲了解更多情况,请阅读用户指南。

□ 极地在行动

查询由表达式组成. 这个懒惰的查询被优化出框并运行进去 在所有可用核心中平行:

(原始内容存档于2019-09-29) (英语). ```python import polars as pl

df = ( pl.scan_parquet("orders.parquet") .filter(pl.col("status") == "shipped") .group_by("customer_id") .agg( pl.col("amount").sum().alias("total"), pl.len().alias("n_orders"), ) .sort("total", descending=True) .collect() )


□ 性能

极地速度非常快. 其实

Issues· 2930 开放

查看全部 Issues在 GitHub 打开
  • #29642

    `Expr.interpolate` 会引发异常或默默地为非数值 dtype 留下空值

    bugpythonneeds triageA-panic更新于 2026年9月30日
  • #29641

    `decimal_comma` 和 `float_scientific` 的 CSV 格式不正确

    buggood first issueacceptedA-dtype-decimalP-medium更新于 2026年9月30日
  • #22111

    在读取 csv 时忽略前导空白

    enhancement更新于 2026年9月29日
  • #29644

    具有长度为 1 的输入和全长边界的 `clip` 会默默地截短为长度 1,而不是广播

    bugpythonneeds triage更新于 2026年9月29日
  • #29640

    在浮点数中存在 NaN 时,会跳过拼花行

    bugpythonacceptedP-highA-io-parquet更新于 2026年9月29日
  • #29630

    在 agg 更改顺序后,`group_by` 与 `sort_by` 的结果不正确

    bugpythonacceptedP-high更新于 2026年9月29日
  • #29583

    在聚合中使用 `group_by` 和 `sort_by` 时,结果不正确

    bugpythonacceptedP-high更新于 2026年9月29日
  • #29496

    如果窗口边界不是单调的,DataFrame.rolling 会产生不正确的结果

    bugpythonacceptedP-highA-rolling更新于 2026年9月29日
  • #29494

    在与文件内谓词结合使用时,`pl.date` 与 Hive 关键字一起使用会停止分区优化

    performanceA-io-partitioning更新于 2026年9月29日
  • #29627

    在内存中,在 groupby 上下文中针对嵌套键计算极值时,结果不正确

    bugpythonneeds triage更新于 2026年9月29日

> 标签

Rustarrowdataframedataframe-librarydataframes

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月30日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言