-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
The custom functions vignette examples currently all involve converting to and from R objects.
With polars using mirai's serialization registry, this is not always going to be necessary.
It might be an idea to add some examples of how users can take advantage of this, e.g.:
library(polars)
library(purrr)
library(mirai)
daemons(6)
dat <- as_polars_df(mtcars)
dat |>
as.list() |>
map(in_parallel(\(x) x$sort())) |>
as_polars_df()
There's no conversion to R types anywhere in this (you can verify line by line that the result is a polars object).
Not the best example, so can I leave it with you to find a more natural one?
Also happy to contribute something, just let me know.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation