Skip to content

Commit

Permalink
python polars 0.20.12 (#14755)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 authored Feb 29, 2024
1 parent 8d0cdc2 commit 9dbe83e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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.20.11"
version = "0.20.12"
edition = "2021"

[lib]
Expand Down
1 change: 1 addition & 0 deletions py-polars/src/conversion/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ impl ToPyObject for Wrap<TimeUnit> {
impl<'s> FromPyObject<'s> for Wrap<Row<'s>> {
fn extract(ob: &'s PyAny) -> PyResult<Self> {
let vals = ob.extract::<Vec<Wrap<AnyValue<'s>>>>()?;
// SAFETY. Wrap is repr transparent.
let vals: Vec<AnyValue> = unsafe { std::mem::transmute(vals) };
Ok(Wrap(Row(vals)))
}
Expand Down

0 comments on commit 9dbe83e

Please sign in to comment.