Skip to content

Commit

Permalink
Patch release (#3595)
Browse files Browse the repository at this point in the history
* patch_release

* python polars 0.13.43
  • Loading branch information
ritchie46 committed Jun 6, 2022
1 parent 0750664 commit 26c0b1b
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 53 deletions.
12 changes: 6 additions & 6 deletions polars/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars"
version = "0.22.0"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
keywords = ["dataframe", "query-engine", "arrow"]
Expand Down Expand Up @@ -242,11 +242,11 @@ bench = [
]

[dependencies]
polars-core = { version = "0.22.1", path = "./polars-core", features = ["docs", "private"], default-features = false }
polars-io = { version = "0.22.0", path = "./polars-io", features = ["private"], default-features = false, optional = true }
polars-lazy = { version = "0.22.0", path = "./polars-lazy", features = ["private"], default-features = false, optional = true }
polars-ops = { version = "0.22.1", path = "./polars-ops" }
polars-time = { version = "0.22.0", path = "./polars-time", default-features = false, optional = true }
polars-core = { version = "0.22.2", path = "./polars-core", features = ["docs", "private"], default-features = false }
polars-io = { version = "0.22.2", path = "./polars-io", features = ["private"], default-features = false, optional = true }
polars-lazy = { version = "0.22.2", path = "./polars-lazy", features = ["private"], default-features = false, optional = true }
polars-ops = { version = "0.22.2", path = "./polars-ops" }
polars-time = { version = "0.22.2", path = "./polars-time", default-features = false, optional = true }

[dev-dependencies]
ahash = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion polars/polars-arrow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-arrow"
version = "0.22.0"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions polars/polars-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-core"
version = "0.22.1"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand Down Expand Up @@ -161,8 +161,8 @@ jsonpath_lib = { version = "0.3.0", optional = true, git = "https://github.com/r
ndarray = { version = "0.15", optional = true, default_features = false }
num = "^0.4"
once_cell = "1"
polars-arrow = { version = "0.22.0", path = "../polars-arrow", features = ["compute"] }
polars-utils = { version = "0.22.0", path = "../polars-utils" }
polars-arrow = { version = "0.22.2", path = "../polars-arrow", features = ["compute"] }
polars-utils = { version = "0.22.2", path = "../polars-utils" }
rand = { version = "0.8", optional = true, features = ["small_rng", "std"] }
rand_distr = { version = "0.4", optional = true }
rayon = "1.5"
Expand Down
20 changes: 7 additions & 13 deletions polars/polars-core/src/frame/groupby/aggregations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,19 +546,13 @@ where
T::Native::zero(),
)
}),
(_, 1) => {
let out = take_agg_primitive_iter_unchecked::<T::Native, _, _>(
self.downcast_iter().next().unwrap(),
idx.iter().map(|i| *i as usize),
|a, b| a + b,
T::Native::zero(),
idx.len() as IdxSize,
);
if out.is_none() {
dbg!(idx, self);
};
out
}
(_, 1) => take_agg_primitive_iter_unchecked::<T::Native, _, _>(
self.downcast_iter().next().unwrap(),
idx.iter().map(|i| *i as usize),
|a, b| a + b,
T::Native::zero(),
idx.len() as IdxSize,
),
_ => {
let take = { self.take_unchecked(idx.into()) };
take.sum()
Expand Down
10 changes: 5 additions & 5 deletions polars/polars-io/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-io"
version = "0.22.0"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand Down Expand Up @@ -47,10 +47,10 @@ memchr = "2.4"
memmap = { package = "memmap2", version = "0.5.2", optional = true }
num = "^0.4"
once_cell = "1"
polars-arrow = { version = "0.22.0", path = "../polars-arrow" }
polars-core = { version = "0.22.1", path = "../polars-core", features = ["private"], default-features = false }
polars-time = { version = "0.22.0", path = "../polars-time", features = ["private"], default-features = false, optional = true }
polars-utils = { version = "0.22.0", path = "../polars-utils" }
polars-arrow = { version = "0.22.2", path = "../polars-arrow" }
polars-core = { version = "0.22.2", path = "../polars-core", features = ["private"], default-features = false }
polars-time = { version = "0.22.2", path = "../polars-time", features = ["private"], default-features = false, optional = true }
polars-utils = { version = "0.22.2", path = "../polars-utils" }
rayon = "1.5"
regex = "1.5"
serde = { version = "1", features = ["derive"], optional = true }
Expand Down
14 changes: 7 additions & 7 deletions polars/polars-lazy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-lazy"
version = "0.22.0"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand Down Expand Up @@ -122,12 +122,12 @@ rayon = "1.5"
regex = { version = "1.5", optional = true }
serde = { version = "1", features = ["derive", "rc"], optional = true }

polars-arrow = { version = "0.22.0", path = "../polars-arrow" }
polars-core = { version = "0.22.1", path = "../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
polars-io = { version = "0.22.0", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features = false }
polars-ops = { version = "0.22.1", path = "../polars-ops", default-features = false }
polars-time = { version = "0.22.0", path = "../polars-time", optional = true }
polars-utils = { version = "0.22.0", path = "../polars-utils" }
polars-arrow = { version = "0.22.2", path = "../polars-arrow" }
polars-core = { version = "0.22.2", path = "../polars-core", features = ["lazy", "private", "zip_with", "random"], default-features = false }
polars-io = { version = "0.22.2", path = "../polars-io", features = ["lazy", "csv-file", "private"], default-features = false }
polars-ops = { version = "0.22.2", path = "../polars-ops", default-features = false }
polars-time = { version = "0.22.2", path = "../polars-time", optional = true }
polars-utils = { version = "0.22.2", path = "../polars-utils" }

[package.metadata.docs.rs]
all-features = true
Expand Down
6 changes: 3 additions & 3 deletions polars/polars-ops/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-ops"
version = "0.22.1"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand All @@ -10,8 +10,8 @@ description = "More operations on polars data structures"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
polars-arrow = { version = "0.22.0", path = "../polars-arrow", default-features = false }
polars-core = { version = "0.22.1", path = "../polars-core", features = ["private"], default-features = false }
polars-arrow = { version = "0.22.2", path = "../polars-arrow", default-features = false }
polars-core = { version = "0.22.2", path = "../polars-core", features = ["private"], default-features = false }

[features]
dtype-categorical = ["polars-core/dtype-categorical"]
Expand Down
8 changes: 4 additions & 4 deletions polars/polars-time/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-time"
version = "0.22.0"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand All @@ -11,9 +11,9 @@ description = "Time related code for the polars dataframe library"
[dependencies]
chrono = "0.4"
lexical = { version = "6", default-features = false, features = ["std", "parse-floats", "parse-integers"] }
polars-arrow = { version = "0.22.0", path = "../polars-arrow", features = ["compute", "temporal"] }
polars-core = { version = "0.22.0", path = "../polars-core", default-features = false, features = ["private", "dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] }
polars-utils = { version = "0.22.0", path = "../polars-utils" }
polars-arrow = { version = "0.22.2", path = "../polars-arrow", features = ["compute", "temporal"] }
polars-core = { version = "0.22.2", path = "../polars-core", default-features = false, features = ["private", "dtype-datetime", "dtype-duration", "dtype-time", "dtype-date"] }
polars-utils = { version = "0.22.2", path = "../polars-utils" }
serde = { version = "1", features = ["derive"], optional = true }

[features]
Expand Down
2 changes: 1 addition & 1 deletion polars/polars-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "polars-utils"
version = "0.22.0"
version = "0.22.2"
authors = ["ritchie46 <ritchie46@gmail.com>"]
edition = "2021"
license = "MIT"
Expand Down
18 changes: 9 additions & 9 deletions py-polars/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion py-polars/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "py-polars"
version = "0.13.42"
version = "0.13.43"
authors = ["ritchie46 <ritchie46@gmail.com>"]
documentation = "https://pola-rs.github.io/polars/py-polars/html/reference/index.html"
edition = "2021"
Expand Down

0 comments on commit 26c0b1b

Please sign in to comment.