Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: bump polars to 0.44.2 #1271

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ Collate:
Config/rextendr/version: 0.3.1
VignetteBuilder: knitr
Config/polars/LibVersion: 0.43.1
Config/polars/RustToolchainVersion: nightly-2024-09-19
Config/polars/RustToolchainVersion: nightly-2024-10-28
8 changes: 2 additions & 6 deletions R/expr__expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -3022,9 +3022,6 @@ Expr_arctanh = use_extendr_wrapper
#' @param dimensions A integer vector of length of the dimension size.
#' If `-1` is used in any of the dimensions, that dimension is inferred.
#' Currently, more than two dimensions not supported.
#' @param nested_type The nested data type to create. [List][DataType_List] only
#' supports 2 dimensions, whereas [Array][DataType_Array] supports an arbitrary
#' number of dimensions.
#' @return [Expr][Expr_class].
#' If a single dimension is given, results in an expression of the original data
#' type. If a multiple dimensions are given, results in an expression of data
Expand All @@ -3044,9 +3041,8 @@ Expr_arctanh = use_extendr_wrapper
#' df$select(
#' pl$col("foo")$reshape(c(3, 2, 2), nested_type = pl$Array(pl$Float32, 2))
#' )
Expr_reshape = function(dimensions, nested_type = pl$List()) {
is_list = nested_type$is_list()
.pr$Expr$reshape(self, dimensions, is_list) |>
Expr_reshape = function(dimensions) {
.pr$Expr$reshape(self, dimensions) |>
unwrap("in $reshape():")
}

Expand Down
Loading