Skip to content

Commit

Permalink
rust polars 0.32.0; python polars 0.18.14 (#10474)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Aug 14, 2023
1 parent 99af5f1 commit ec0c91f
Show file tree
Hide file tree
Showing 17 changed files with 89 additions and 88 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exclude = [
]

[workspace.package]
version = "0.31.1"
version = "0.32.0"
authors = ["Ritchie Vink <[email protected]>"]
edition = "2021"
homepage = "https://www.pola.rs/"
Expand Down Expand Up @@ -53,12 +53,12 @@ xxhash-rust = { version = "0.8.6", features = ["xxh3"] }

[workspace.dependencies.arrow]
package = "arrow2"
git = "https://github.com/jorgecarleitao/arrow2"
# git = "https://github.com/jorgecarleitao/arrow2"
# git = "https://github.com/ritchie46/arrow2"
rev = "9beabec8cfb5502582d31ab898fdd36e7af0873c"
# rev = "9beabec8cfb5502582d31ab898fdd36e7af0873c"
# path = "../arrow2"
# branch = "duration_json"
version = "0.17.2"
version = "0.17.4"
default-features = false
features = [
"compute_aggregate",
Expand Down
6 changes: 3 additions & 3 deletions crates/polars-algo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ repository = { workspace = true }
description = "Algorithms built upon Polars primitives"

[dependencies]
polars-core = { version = "0.31.1", path = "../polars-core", features = ["dtype-categorical", "asof_join"], default-features = false }
polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = ["asof_join", "concat_str", "strings"] }
polars-ops = { version = "0.31.1", path = "../polars-ops", features = ["dtype-categorical", "asof_join"], default-features = false }
polars-core = { version = "0.32.0", path = "../polars-core", features = ["dtype-categorical", "asof_join"], default-features = false }
polars-lazy = { version = "0.32.0", path = "../polars-lazy", features = ["asof_join", "concat_str", "strings"] }
polars-ops = { version = "0.32.0", path = "../polars-ops", features = ["dtype-categorical", "asof_join"], default-features = false }

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-arrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = { workspace = true }
description = "Arrow interfaces for Polars DataFrame library"

[dependencies]
polars-error = { version = "0.31.1", path = "../polars-error" }
polars-error = { version = "0.32.0", path = "../polars-error" }

arrow = { workspace = true }
atoi = { workspace = true, optional = true }
Expand Down
8 changes: 4 additions & 4 deletions crates/polars-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repository = { workspace = true }
description = "Core of the Polars DataFrame library"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["compute"] }
polars-error = { version = "0.31.1", path = "../polars-error" }
polars-row = { version = "0.31.1", path = "../polars-row" }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-arrow = { version = "0.32.0", path = "../polars-arrow", features = ["compute"] }
polars-error = { version = "0.32.0", path = "../polars-error" }
polars-row = { version = "0.32.0", path = "../polars-row" }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

ahash = { workspace = true }
arrow = { workspace = true }
Expand Down
12 changes: 6 additions & 6 deletions crates/polars-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ repository = { workspace = true }
description = "IO related logic for the Polars DataFrame library"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow" }
polars-core = { version = "0.31.1", path = "../polars-core", features = [], default-features = false }
polars-error = { version = "0.31.1", path = "../polars-error", default-features = false }
polars-json = { version = "0.31.1", optional = true, path = "../polars-json" }
polars-time = { version = "0.31.1", path = "../polars-time", features = [], default-features = false, optional = true }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-arrow = { version = "0.32.0", path = "../polars-arrow" }
polars-core = { version = "0.32.0", path = "../polars-core", features = [], default-features = false }
polars-error = { version = "0.32.0", path = "../polars-error", default-features = false }
polars-json = { version = "0.32.0", optional = true, path = "../polars-json" }
polars-time = { version = "0.32.0", path = "../polars-time", features = [], default-features = false, optional = true }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

ahash = { workspace = true }
arrow = { workspace = true }
Expand Down
6 changes: 3 additions & 3 deletions crates/polars-json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ repository = { workspace = true }
description = "JSON related logic for the Polars DataFrame library"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false }
polars-error = { version = "0.31.1", path = "../polars-error" }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-arrow = { version = "0.32.0", path = "../polars-arrow", default-features = false }
polars-error = { version = "0.32.0", path = "../polars-error" }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

ahash = { workspace = true }
arrow = { workspace = true }
Expand Down
18 changes: 9 additions & 9 deletions crates/polars-lazy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ repository = { workspace = true }
description = "Lazy query engine for the Polars DataFrame library"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow" }
polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false }
polars-io = { version = "0.31.1", path = "../polars-io", features = ["lazy", "csv"], default-features = false }
polars-json = { version = "0.31.1", path = "../polars-json", optional = true }
polars-ops = { version = "0.31.1", path = "../polars-ops", default-features = false }
polars-pipe = { version = "0.31.1", path = "../polars-pipe", optional = true }
polars-plan = { version = "0.31.1", path = "../polars-plan" }
polars-time = { version = "0.31.1", path = "../polars-time", optional = true }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-arrow = { version = "0.32.0", path = "../polars-arrow" }
polars-core = { version = "0.32.0", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false }
polars-io = { version = "0.32.0", path = "../polars-io", features = ["lazy", "csv"], default-features = false }
polars-json = { version = "0.32.0", path = "../polars-json", optional = true }
polars-ops = { version = "0.32.0", path = "../polars-ops", default-features = false }
polars-pipe = { version = "0.32.0", path = "../polars-pipe", optional = true }
polars-plan = { version = "0.32.0", path = "../polars-plan" }
polars-time = { version = "0.32.0", path = "../polars-time", optional = true }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

ahash = { workspace = true }
bitflags = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions crates/polars-ops/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repository = { workspace = true }
description = "More operations on Polars data structures"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false }
polars-core = { version = "0.31.1", path = "../polars-core", features = [], default-features = false }
polars-json = { version = "0.31.1", optional = true, path = "../polars-json", default-features = false }
polars-utils = { version = "0.31.1", path = "../polars-utils", default-features = false }
polars-arrow = { version = "0.32.0", path = "../polars-arrow", default-features = false }
polars-core = { version = "0.32.0", path = "../polars-core", features = [], default-features = false }
polars-json = { version = "0.32.0", optional = true, path = "../polars-json", default-features = false }
polars-utils = { version = "0.32.0", path = "../polars-utils", default-features = false }

argminmax = { version = "0.6.1", default-features = false, features = ["float"] }
arrow = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions crates/polars-pipe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ repository = { workspace = true }
description = "Lazy query engine for the Polars DataFrame library"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow", default-features = false }
polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false }
polars-io = { version = "0.31.1", path = "../polars-io", default-features = false, features = ["ipc", "async"] }
polars-ops = { version = "0.31.1", path = "../polars-ops", features = ["search_sorted"] }
polars-plan = { version = "0.31.1", path = "../polars-plan", default-features = false, features = ["compile"] }
polars-row = { version = "0.31.1", path = "../polars-row" }
polars-utils = { version = "0.31.1", path = "../polars-utils", features = ["sysinfo"] }
polars-arrow = { version = "0.32.0", path = "../polars-arrow", default-features = false }
polars-core = { version = "0.32.0", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false }
polars-io = { version = "0.32.0", path = "../polars-io", default-features = false, features = ["ipc", "async"] }
polars-ops = { version = "0.32.0", path = "../polars-ops", features = ["search_sorted"] }
polars-plan = { version = "0.32.0", path = "../polars-plan", default-features = false, features = ["compile"] }
polars-row = { version = "0.32.0", path = "../polars-row" }
polars-utils = { version = "0.32.0", path = "../polars-utils", features = ["sysinfo"] }

crossbeam-channel = { version = "0.5", optional = true }
crossbeam-queue = { version = "0.3", optional = true }
Expand Down
12 changes: 6 additions & 6 deletions crates/polars-plan/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ description = "Lazy query engine for the Polars DataFrame library"
doctest = false

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow" }
polars-core = { version = "0.31.1", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false }
polars-io = { version = "0.31.1", path = "../polars-io", features = ["lazy", "csv"], default-features = false }
polars-ops = { version = "0.31.1", path = "../polars-ops", default-features = false }
polars-time = { version = "0.31.1", path = "../polars-time", optional = true }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-arrow = { version = "0.32.0", path = "../polars-arrow" }
polars-core = { version = "0.32.0", path = "../polars-core", features = ["lazy", "zip_with", "random"], default-features = false }
polars-io = { version = "0.32.0", path = "../polars-io", features = ["lazy", "csv"], default-features = false }
polars-ops = { version = "0.32.0", path = "../polars-ops", default-features = false }
polars-time = { version = "0.32.0", path = "../polars-time", optional = true }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

ahash = { workspace = true }
arrow = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions crates/polars-row/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = { workspace = true }
description = "Row encodings for the Polars DataFrame library"

[dependencies]
polars-error = { version = "0.31.1", path = "../polars-error" }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-error = { version = "0.32.0", path = "../polars-error" }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

arrow = { workspace = true }
8 changes: 4 additions & 4 deletions crates/polars-sql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repository = { workspace = true }
description = "SQL transpiler for Polars. Converts SQL to Polars logical plans"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["like"] }
polars-core = { version = "0.31.1", path = "../polars-core", features = [] }
polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = ["compile", "strings", "cross_join", "trigonometry", "abs", "round_series", "log", "regex", "is_in", "meta", "cum_agg"] }
polars-plan = { version = "0.31.1", path = "../polars-plan", features = ["compile"] }
polars-arrow = { version = "0.32.0", path = "../polars-arrow", features = ["like"] }
polars-core = { version = "0.32.0", path = "../polars-core", features = [] }
polars-lazy = { version = "0.32.0", path = "../polars-lazy", features = ["compile", "strings", "cross_join", "trigonometry", "abs", "round_series", "log", "regex", "is_in", "meta", "cum_agg"] }
polars-plan = { version = "0.32.0", path = "../polars-plan", features = ["compile"] }

serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions crates/polars-time/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repository = { workspace = true }
description = "Time related code for the Polars DataFrame library"

[dependencies]
polars-arrow = { version = "0.31.1", path = "../polars-arrow", features = ["compute", "temporal"] }
polars-core = { version = "0.31.1", path = "../polars-core", default-features = false, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] }
polars-ops = { version = "0.31.1", path = "../polars-ops" }
polars-utils = { version = "0.31.1", path = "../polars-utils" }
polars-arrow = { version = "0.32.0", path = "../polars-arrow", features = ["compute", "temporal"] }
polars-core = { version = "0.32.0", path = "../polars-core", default-features = false, features = ["dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] }
polars-ops = { version = "0.32.0", path = "../polars-ops" }
polars-utils = { version = "0.32.0", path = "../polars-utils" }

arrow = { workspace = true }
atoi = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/polars-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = { workspace = true }
description = "Private utils for the Polars DataFrame library"

[dependencies]
polars-error = { version = "0.31.1", path = "../polars-error" }
polars-error = { version = "0.32.0", path = "../polars-error" }

ahash = { workspace = true }
hashbrown = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions crates/polars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ repository = { workspace = true }
description = "DataFrame library based on Apache Arrow"

[dependencies]
polars-algo = { version = "0.31.1", path = "../polars-algo", optional = true }
polars-core = { version = "0.31.1", path = "../polars-core", features = ["docs"], default-features = false }
polars-io = { version = "0.31.1", path = "../polars-io", features = [], default-features = false, optional = true }
polars-lazy = { version = "0.31.1", path = "../polars-lazy", features = [], default-features = false, optional = true }
polars-ops = { version = "0.31.1", path = "../polars-ops" }
polars-sql = { version = "0.31.1", path = "../polars-sql", default-features = false, optional = true }
polars-time = { version = "0.31.1", path = "../polars-time", default-features = false, optional = true }
polars-algo = { version = "0.32.0", path = "../polars-algo", optional = true }
polars-core = { version = "0.32.0", path = "../polars-core", features = ["docs"], default-features = false }
polars-io = { version = "0.32.0", path = "../polars-io", features = [], default-features = false, optional = true }
polars-lazy = { version = "0.32.0", path = "../polars-lazy", features = [], default-features = false, optional = true }
polars-ops = { version = "0.32.0", path = "../polars-ops" }
polars-sql = { version = "0.32.0", path = "../polars-sql", default-features = false, optional = true }
polars-time = { version = "0.32.0", path = "../polars-time", default-features = false, optional = true }

[dev-dependencies]
ahash = { workspace = true }
Expand Down
Loading

0 comments on commit ec0c91f

Please sign in to comment.