Polars is Now in R (Faster Data and Time Series Analysis) 📈

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น •

  • @RenatoVargas
    @RenatoVargas 5 หลายเดือนก่อน +4

    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.

  • @gonzarizzo
    @gonzarizzo 5 หลายเดือนก่อน

    Hello! Thank you for the content! I’m curious about which is the rstudio theme you are using. Could you share it? Thanks!

    • @BusinessScience
      @BusinessScience  4 หลายเดือนก่อน

      Thanks! I believe it’s one of the dark themes that comes with RStudio

  • @Dreaming-11
    @Dreaming-11 3 หลายเดือนก่อน

    Is there any advantage over data.table package?

  • @RenatoVargas
    @RenatoVargas 5 หลายเดือนก่อน +1

    I was looking forward to this library. Thank you for sharing.

    • @BusinessScience
      @BusinessScience  5 หลายเดือนก่อน

      @@RenatoVargas you got it!

  • @exshenanigan2333
    @exshenanigan2333 5 หลายเดือนก่อน +11

    You can't tell me they didn't name it "PolaRs"

    • @PedroOliveira-ez2ni
      @PedroOliveira-ez2ni 5 หลายเดือนก่อน +3

      They missed the opportunity of doing something extremely funny 😭😭😭😭

    • @BusinessScience
      @BusinessScience  5 หลายเดือนก่อน

      lol what a missed opportunity 😅

    • @Aaqib..
      @Aaqib.. 5 หลายเดือนก่อน

      😢😂

  • @zephyrthesearchrescuedog8358
    @zephyrthesearchrescuedog8358 5 หลายเดือนก่อน

    Doesn't Hadley recommend the base pipe instead now? |>

    • @BusinessScience
      @BusinessScience  4 หลายเดือนก่อน

      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)

  • @krajco252
    @krajco252 5 หลายเดือนก่อน

    Warning in install.packages :
    package ‘polars’ is not available (for R version 3.5.3) :( unlucky

    • @BusinessScience
      @BusinessScience  4 หลายเดือนก่อน

      Polars is not on CRAN. You’ll need to install with GitHub.

  • @ArneHenningsen
    @ArneHenningsen 5 หลายเดือนก่อน

    BTW: ‘polars’ is a *package*, not a library…

    • @BusinessScience
      @BusinessScience  5 หลายเดือนก่อน +2

      No it’s a library.

    • @ArneHenningsen
      @ArneHenningsen 5 หลายเดือนก่อน

      @@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
      @joshstat8114 4 หลายเดือนก่อน

      @@BusinessScience to be more precise, a NAMESPACE and a module

  • @torispadewtd5494
    @torispadewtd5494 5 หลายเดือนก่อน

    🔥🔥🔥

  • @joshstat8114
    @joshstat8114 5 หลายเดือนก่อน +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.