etiennebacher / tidypolars

Get the power of polars with the syntax of the tidyverse
https://tidypolars.etiennebacher.com
Other
141 stars 3 forks source link

Add methods for `as.data.frame()` and `as_tibble()` to replace `to_r()`? #87

Closed etiennebacher closed 4 months ago

etiennebacher commented 4 months ago

I'm not a big fan of collecting LazyFrame implicitly in polars:::as.data.frame.RPolarsLazyFrame. I'd rather have the user be explicit and call collect() first. Need to open an issue on polars repo.

etiennebacher commented 4 months ago

Looks like the most common behavior in other packages is to automatically collect under the hood so I'll do the same for consistency.