I just learned of the existence of the tidypolars package (from the R polars readme itself), which uses polars under the hood to "enable users to keep their existing tidyverse code while using polars in the background to benefit from large performance gains." That way, you can avoid going back and forth converting to tibble.
@RenatoVargas
2 ай бұрын
I was looking forward to this library. Thank you for sharing.
@BusinessScience
2 ай бұрын
@@RenatoVargas you got it!
@Dreaming-11
21 күн бұрын
Is there any advantage over data.table package?
@gonzarizzo
2 ай бұрын
Hello! Thank you for the content! I’m curious about which is the rstudio theme you are using. Could you share it? Thanks!
@BusinessScience
2 ай бұрын
Thanks! I believe it’s one of the dark themes that comes with RStudio
@exshenanigan2333
2 ай бұрын
You can't tell me they didn't name it "PolaRs"
@PedroOliveira-ez2ni
2 ай бұрын
They missed the opportunity of doing something extremely funny 😭😭😭😭
@BusinessScience
2 ай бұрын
lol what a missed opportunity 😅
@Aaqib..
2 ай бұрын
😢😂
@zephyrthesearchrescuedog8358
2 ай бұрын
Doesn't Hadley recommend the base pipe instead now? |>
@BusinessScience
2 ай бұрын
No idea. The base pipe has some limitations. Like not working with the dot operator. So I stick with what works. No need to complicate it by switching without a benefit (and possibly breaking code)
@torispadewtd5494
2 ай бұрын
🔥🔥🔥
@krajco252
2 ай бұрын
Warning in install.packages : package ‘polars’ is not available (for R version 3.5.3) :( unlucky
@BusinessScience
2 ай бұрын
Polars is not on CRAN. You’ll need to install with GitHub.
@ArneHenningsen
2 ай бұрын
BTW: ‘polars’ is a *package*, not a library…
@BusinessScience
2 ай бұрын
No it’s a library.
@ArneHenningsen
2 ай бұрын
@@BusinessScience Well, the library() command loads an R *package* (e.g., the 'polars' package), which must be available in a library (tree) and which may link to (shared/dynamic/static) libraries, as explained in the introduction to the official R documentation "Writing R Extensions": "A package is a directory of files which extend R, a source package (the master files of a package), or a tarball containing the files of a source package, or an installed package, the result of running R CMD INSTALL on a source package. On some platforms (notably macOS and ‘x86_64’ Windows) there are also binary packages, a zip file or tarball containing the files of an installed package which can be unpacked rather than installing from sources. A package is not1 a library. The latter is used in two senses in R documentation. A directory into which packages are installed, e.g. /usr/lib/R/library: in that sense it is sometimes referred to as a library directory or library tree (since the library is a directory which contains packages as directories, which themselves contain directories). That used by the operating system, as a shared, dynamic or static library or (especially on Windows) a DLL, where the second L stands for ‘library’. Installed packages may contain compiled code in what is known on Unix-alikes as a shared object and on Windows as a DLL. The concept of a shared library (dynamic library on macOS) as a collection of compiled code to which a package might link is also used, especially for R itself on some platforms. On most platforms these concepts are interchangeable (shared objects and DLLs can both be loaded into the R process and be linked against), but macOS distinguishes between shared objects (extension .so) and dynamic libraries (extension .dylib)." cran.r-project.org/doc/manuals/R-exts.html
@joshstat8114
2 ай бұрын
@@BusinessScience to be more precise, a NAMESPACE and a module
@joshstat8114
2 ай бұрын
Yes, I really like Polars now and made me dislike Pandas, and that's because Polars has more readable syntaxes than Pandas, no I never like Pandas from the start. Maybe you can try tidypolars.
Пікірлер: 24