{"repo":"OutSquareCapital/belugas","free":true,"listed":false,"github":"https://github.com/OutSquareCapital/belugas","clone":"git clone https://github.com/OutSquareCapital/belugas.git","description":"Polars-like syntax for DuckDB","language":"Python","stars":12,"topics":["data-science","dataframe-library","duckdb","polars","sql"],"license":"MIT","category":"databases-storage","readme_excerpt":"belugas belugas is a dataframe library with a DuckDB backend. Just like his arctic cetacean cousin narwhals, belugas API is inspired by polars, with a fluent, lazy API, focused on building reusable expressions chains that can be executed once passed in a LazyFrame context. Contrary to narwhals or Ibis , belugas is a specialized tool, aiming to expose the full power of DuckDB possibilities, in a syntax familiar to polars users, without concessions on functionnality. It's a WIP project, but lots of functionnality are already here, and the codebase is robustly tested, with more than +1000 tests covering features, edge cases and polars conformity. Quick Start Installation Example Output: Features The two main pillars of belugas are: - Expr , the base class for all expressions, created from col , lit , selectors, and others module functions, that can be combined together to build complex expressions chains. - LazyFrame , the main entry point for all data manipulation, that can be created from various data sources (arrow, python mapping/sequences, pandas dataframe, CSV, parquet, json etc...), and on which you can call all the available methods to build your query. belugas currently provides: - LazyFrame::{select, filter, with columns, join, join asof, pivot, unpivot, sort, sink csv, sink parquet, ...} - Aggregations contexts with LazyFrame::group by::{agg, all, len, ...} - A rich expressions catalog covering +700 of DuckDB's built-in functions , with custom expressions implementati","default_branch":null,"files":null,"tree":[],"storefront":"/r/OutSquareCapital","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OutSquareCapital/belugas/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}