Gezinmeyi atla
This is pure witchcraft!
0:00 / 6:24

This is pure witchcraft!

Santiago

@svpino452 B takipçi

X profili
630 beğeniİndirOrijinal gönderi

51.995 görüntüleme

This is pure witchcraft! A single line of code makes my Pandas code 5x faster! I don't have to migrate to a different library or change anything else. The magic happens by patching Pandas with FireDucks, a multi-threaded, compiler-accelerated library with a fully compatible pandas API. The library makes your Pandas code up to 48x faster! You have a couple of options to use FireDucks: 1. import fireducks.pandas as pd 2. Or run your code like this: `python -mfireducks.imhook main .py ` FireDucks is faster than Pandas and faster than Polars. Check the video attached to this post, and the link to the code below.

11 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • Santiago profil fotoğrafı

    @svpino

    Here is a link to the code I show in the video: Here is FireDucks' GitHub Repository: This notebook compares FireDucks with Polars and Pandas: Finally, a few benchmarks:

    19 beğeni

  • Santiago profil fotoğrafı

    @svpino

    If you prefer to watch the video on YouTube, here is the link:

    12 beğeni

  • Matt Figdore profil fotoğrafı

    @mattfigdore

    This is the biggest productivity cheat code right now. Kiss reading documents goodbye. You can get an instant summary of any document with this tool.

    15.518 beğeni

  • Subhajit Bhar profil fotoğrafı

    @JitWrites

    One quick question: Is this speedup due only to multithreading? Also, have you tested Polars? What’s your opinion on it?

    2 beğeni

  • Raunak Rangari profil fotoğrafı

    @raunak257

    Your vey helpfull for so many peopels🔥

    1 beğeni

  • Albert profil fotoğrafı

    @AlbertRSimmons

    Why does pandas try to reinvent the wheel when SQL and @duckdb already do the job?

    1 beğeni

  • Tomislav profil fotoğrafı

    @the_white_watch

    You forgot to mention its for Linux. Ouch, killed your post.

    1 beğeni

  • 🧪Juice 🧃 profil fotoğrafı

    @Juicecountyeth

    Hey there, you should try using pandas on on a gpu. CuDF is even crazier.

    1 beğeni

  • Anda profil fotoğrafı

    @AndaICP

    "Friendly reminder that even pandas need optimized bamboo-munching techniques to boost their performance!" 🐼🎋

    1 beğeni

  • Muhammad Waqar Afzal profil fotoğrafı

    @waqarafzal

    Does it work on mac and windows?

  • Rodrigo profil fotoğrafı

    @roprgm

    What prevents pandas to adopt the optimizations?