Skip to content

Commit

Permalink
pyo3-polars 0.11 (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Jan 26, 2024
1 parent be43bc0 commit 239daf3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ members = [
]

[workspace.dependencies]
polars = { version = "0.36.2", default-features = false }
polars-core = { version = "0.36.2", default-features = false }
polars-ffi = { version = "0.36.2", default-features = false }
polars-plan = { version = "0.36.2", default-feautres = false }
polars-lazy = { version = "0.36.2", default-features = false }
polars = { version = "0.37.0", default-features = false }
polars-core = { version = "0.37.0", default-features = false }
polars-ffi = { version = "0.37.0", default-features = false }
polars-plan = { version = "0.37.0", default-feautres = false }
polars-lazy = { version = "0.37.0", default-features = false }
2 changes: 1 addition & 1 deletion pyo3-polars-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyo3-polars-derive"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
license = "MIT"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions pyo3-polars/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pyo3-polars"
version = "0.10.0"
version = "0.11.1"
edition = "2021"
license = "MIT"
readme = "../README.md"
Expand All @@ -17,7 +17,7 @@ polars-ffi = { workspace = true, optional = true }
polars-lazy = { workspace = true, optional = true }
polars-plan = { workspace = true, optional = true }
pyo3 = "0.20.0"
pyo3-polars-derive = { version = "0.4.0", path = "../pyo3-polars-derive", optional = true }
pyo3-polars-derive = { version = "0.5.0", path = "../pyo3-polars-derive", optional = true }
serde = { version = "1", optional = true }
serde-pickle = { version = "1", optional = true }
thiserror = "1"
Expand Down
2 changes: 1 addition & 1 deletion pyo3-polars/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl<'a> FromPyObject<'a> for PySeries {
let name = ob.getattr("name")?;
let name = name.str()?.to_str()?;

let arr = ob.call_method1("to_arrow", (true,))?;
let arr = ob.call_method0("to_arrow")?;
let arr = ffi::to_rust::array_to_rust(arr)?;
Ok(PySeries(
Series::try_from((name, arr)).map_err(PyPolarsErr::from)?,
Expand Down

0 comments on commit 239daf3

Please sign in to comment.