Polars: Blazingly Fast DataFrames in Rust and Python

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • This talk will introduce Polars a blazingly fast DataFrame library written in Rust on top of Apache Arrow. Its a DataFrame library that brings exploratory data analysis closer to the lessons learned in database research.
    CPU's today's come with many cores and with their superscalar designs and SIMD registers allow for even more parallelism. Polars is written from the ground up to fully utilize the CPU's of this generation.
    Besides blazingly fast algorithms, cache efficient memory layout and multi-threading, it consist of a lazy query engine, allowing Polars to do several optimizations that may improve query time and memory usage.
    Read more:
    github.com/pol... www.ritchievin...
    Join the talk to learn more.
    Connect with us:
    Website: databricks.com
    Facebook: / databricksinc
    Twitter: / databricks
    LinkedIn: / data. .
    Instagram: / databricksinc

Komentáře • 28

  • @JeremyChone
    @JeremyChone Před 2 lety +28

    Great video. I have been playing with Polars, Python, and Rust, and it is a fantastic technology.
    Also, I think Polars' Python facade with Rust backend / clean API is a great model for other data-centric technologies that need performance and scripting facade interfaces.
    Big thanks to the Polars team for this gem.

  • @ControlTheGuh
    @ControlTheGuh Před rokem +4

    Learn rust, python and rust synergies will be all over the place in data science soon. Great work with Polars

    • @jmnunezd1231
      @jmnunezd1231 Před rokem

      Why do you think that? Can you elaborate more please? Thanks!

    • @ptarslatinum2806
      @ptarslatinum2806 Před rokem

      Can you please provide some insight? I am thinking of learning rust and I wish to enter this field.

  • @user-qm6up7kz4n
    @user-qm6up7kz4n Před 2 lety +15

    Polars is just great! After trying it I won't go back to pandas.

  • @incremental_failure
    @incremental_failure Před rokem +2

    Haven't been so excited about data analysis for a while. Now comes the chore of converting pandas to polars in a 15k line project.

  • @Josh-wb7ii
    @Josh-wb7ii Před rokem +4

    For a lot of my job its not possible to use eagerly evaluated DFs, polars is a fantastic option.

  • @saaddahmani1870
    @saaddahmani1870 Před 2 lety +2

    Really great crate and great video, thanks.

  • @swalsh1123
    @swalsh1123 Před 2 lety

    I'm going to try this out. Thanks

  • @milo4433
    @milo4433 Před 2 lety +2

    I wonder if this could ever be used with multiple machines similar to spark. Polars looks very fast and with the addition of distributed compute it would be very powerful. Perhaps it was not designed to allow that though.

    • @user-qm6up7kz4n
      @user-qm6up7kz4n Před 2 lety

      Polars uses all logical cores of your machine in parallel. Doesn't that mean distributed compute?

    • @milo4433
      @milo4433 Před 2 lety +1

      @@user-qm6up7kz4n I am asking specifically about cross machine distribution. For example if we had multiple 8-core machines (like VMS in aws) available, can we distribute polars work across those vms instead of being limited to a single machine and its cores.

    • @user-qm6up7kz4n
      @user-qm6up7kz4n Před 2 lety

      @@milo4433 aah I see the difference now

    • @matthiasdebernardini3388
      @matthiasdebernardini3388 Před rokem

      ​@@milo4433 yea you totally could but would need to do that yourself, not sure the crate supports it out of the box

    • @kopodgorski
      @kopodgorski Před rokem

      Wouldn't be a load balancer be enough to make it happen?

  • @josedejesuslopezdiaz
    @josedejesuslopezdiaz Před rokem +1

    great API

  • @therendra
    @therendra Před 8 měsíci

    Nice presentation

  • @headbangingidiot
    @headbangingidiot Před rokem +1

    This is great, can we use polars on a databricks cluster?

    • @rakeshjamdare2049
      @rakeshjamdare2049 Před rokem

      Sure, it terms of python, its just another library so can use it very conveniently!!!

  • @Birdsneverfly
    @Birdsneverfly Před rokem

    Does polars with with scikit?

    • @jmnunezd1231
      @jmnunezd1231 Před rokem +2

      I think they work most of the time. The good think in that if something fails, you can pass polars to numpy very easily

  • @samuelemmettbray
    @samuelemmettbray Před rokem

    Super confused. I thought Polars was deprecating in favor of Arrow2?

  • @hiongun
    @hiongun Před rokem

    need pandas compatible api, just get fast conversion from pandas

    • @headder7802
      @headder7802 Před rokem

      It has methods to read and export to Pandas out of the books. It can also write or read Delta tables (locally or in S3).