r-polars
r-polars copied to clipboard
Bring polars to R
In Python: ```py pl.Series("a", [1, 2, 3]) ``` In R: ```r pl$Series(c(1, 2, 3), "a") ``` And the document says: > It is possible to construct a Series with values...
There's something wrong about `polars` performance for sorting, I don't know if it's due to the mismatch between our rust-polars version and the latest one or if it's due to...
I think we should also review the various error types here: https://github.com/pola-rs/r-polars/blob/6827afca398088c5cb1671d3ae4ce17a8b151379/src/rust/src/rpolarserr.rs#L9-L36 Currently we use `BadVal` for wrong inputs, but I don't understand the difference between `BadVal`, `MisValued` and `NotAChoice`...
The Rust version of Debian testing will soon be 1.65, which may allow us to build rpolars tuned to build in the R-universe. (Note that the macOS builder's Rust version...
> Good point. > `arrow` package converts Arrow `time` classes to `hms::hms`. > https://arrow.apache.org/docs/r/articles/data_types.html#translations-from-arrow-to-r > https://hms.tidyverse.org/reference/hms.html > > We should support converting to `hms::hms`. _Originally posted by @eitsupi in https://github.com/pola-rs/r-polars/pull/918#discussion_r1523293866_
In my opinion, there is no user demand to change column names in `as_polars_df()`. So simply removing the `schema` argument and leaving only `schema_override` would be sufficient. In terms of...
polars seems to support it but it's implemented on the python side: https://pola-rs.github.io/polars/py-polars/html/reference/api/polars.read_delta.html the underlying delta lake interface lib is written in Rust though: https://docs.rs/deltalake/latest/deltalake/
Currently, the S3 methods of the base R functions are listed in a separate category in the documentation, but as for the operators, they belong to the functions to which...
Same issue of apache/arrow#40194 ``` r polars::pl$Series("-2147483648")$cast(pl$Int32) |> as.vector() #> [1] NA ``` Created on 2024-03-04 with [reprex v2.0.2](https://reprex.tidyverse.org)
It may also make sense to support conversions from the classes provided by the `clock` package, which has a time type in `ns` and would be more appropriate for time...