Skip to content

Releases: pola-rs/nodejs-polars

nodejs-polars-v0.16.0

07 Oct 15:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: nodejs-polars-v0.15.0...nodejs-polars-v0.16.0

nodejs-polars-v0.13.0

12 Jun 19:06
Compare
Choose a tag to compare

What's Changed

Full Changelog: nodejs-polars-v0.12.3...nodejs-polars-v0.13.0

nodejs-polars-v0.12.3

12 Jun 19:02
Compare
Choose a tag to compare

What's Changed

Read more

nodejs-polars-v0.11.0

22 Apr 16:04
5de5f12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: nodejs-polars-v0.10.0...nodejs-polars-v0.11.0

nodejs-polars-v0.10.0

20 Mar 18:42
16aed5d
Compare
Choose a tag to compare

Highlights

New support for polars sql 🎉

import pl from "nodejs-polars"

const df = pl.DataFrame({
    title: ["The Godfather", "The Dark Knight", "Schindler's List", "Pulp Fiction", "The Shawshank Redemption"],
    release_year: [1972, 2008, 1993, 1994, 1994],
    budget: [6000000, 185000000, 22000000, 8000000, 25000000],
    gross: [134821952, 533316061, 96067179, 107930000, 28341469],
    imdb_score: [9.2, 9.0, 8.9, 8.9, 9.3]
});

const ctx = pl.SQLContext({ films: df });

// Execute a SQL query against the registered frame data
const result = ctx.execute(`
    SELECT title, release_year, imdb_score
    FROM films
    WHERE release_year > 1990
    ORDER BY imdb_score DESC
`, { eager: true });

console.log(result);

>>> shape: (4, 3)
┌──────────────────────────┬──────────────┬────────────┐
 title                     release_year  imdb_score 
 ---                       ---           ---        
 str                       f64           f64        
╞══════════════════════════╪══════════════╪════════════╡
 The Shawshank Redemption  1994.0        9.3        
 The Dark Knight           2008.0        9.0        
 Schindler's List         ┆ 1993.0       ┆ 8.9        │
│ Pulp Fiction             ┆ 1994.0       ┆ 8.9        │
└──────────────────────────┴──────────────┴────────────┘

What's Changed

Full Changelog: nodejs-polars-v0.9.0...nodejs-polars-v0.10.0

nodejs-polars-v0.9.0

07 Mar 22:47
c548885
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: nodejs-polars-v0.8.4...nodejs-polars-v0.9.0

Node Polars 0.8.4

09 Jan 21:35
8dd9658
Compare
Choose a tag to compare

What's Changed

Full Changelog: nodejs-polars-v0.8.3...nodejs-polars-v0.8.4

Node Polars 0.8.3

26 Oct 22:38
0d6ef8b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: nodejs-polars-v0.8.2...nodejs-polars-v0.8.3

Node Polars 0.8.2

08 Sep 13:46
5266b0a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: nodejs-polars-v0.8.1...nodejs-polars-v0.8.2

See latest release available in npm

Node Polars 0.8.1

07 Aug 15:47
ceb027e
Compare
Choose a tag to compare

What's Changed

Full Changelog: nodejs-polars-v0.8.0...nodejs-polars-v0.8.1