home.social

#polars — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #polars, aggregated by home.social.

  1. So I moved into industry 1.5 months ago, which has meant a proper switch from R :rstats: to Python :python: (I love both). Here are a few observations for statistics-related stuff in this switch (mainly GLMs, statistical inference, contrasts)

    - is really great, I love LazyFrames & streaming millions of rows of parquet files, categorical data, missing data.
    - I don't really like using , the interface is clunky and the formula API is unfinished

    1/n

  2. So I moved into industry 1.5 months ago, which has meant a proper switch from R :rstats: to Python :python: (I love both). Here are a few observations for statistics-related stuff in this switch (mainly GLMs, statistical inference, contrasts)

    - #polars is really great, I love LazyFrames & streaming millions of rows of parquet files, categorical data, missing data.
    - I don't really like using #statsmodels, the interface is clunky and the formula API is unfinished

    1/n

    #DataScience #Statistics

  3. So I moved into industry 1.5 months ago, which has meant a proper switch from R :rstats: to Python :python: (I love both). Here are a few observations for statistics-related stuff in this switch (mainly GLMs, statistical inference, contrasts)

    - #polars is really great, I love LazyFrames & streaming millions of rows of parquet files, categorical data, missing data.
    - I don't really like using #statsmodels, the interface is clunky and the formula API is unfinished

    1/n

    #DataScience #Statistics

  4. So I moved into industry 1.5 months ago, which has meant a proper switch from R :rstats: to Python :python: (I love both). Here are a few observations for statistics-related stuff in this switch (mainly GLMs, statistical inference, contrasts)

    - #polars is really great, I love LazyFrames & streaming millions of rows of parquet files, categorical data, missing data.
    - I don't really like using #statsmodels, the interface is clunky and the formula API is unfinished

    1/n

    #DataScience #Statistics

  5. So I moved into industry 1.5 months ago, which has meant a proper switch from R :rstats: to Python :python: (I love both). Here are a few observations for statistics-related stuff in this switch (mainly GLMs, statistical inference, contrasts)

    - #polars is really great, I love LazyFrames & streaming millions of rows of parquet files, categorical data, missing data.
    - I don't really like using #statsmodels, the interface is clunky and the formula API is unfinished

    1/n

    #DataScience #Statistics

  6. Alltså... Polars LazyFrames är ju min nya bästa kompis. Har haft "lära sig polars" på att-göra-listan i tusen år... får igen gräma sig över att det tagit så länge att sätta tänderna i det.

    #python #polars #datascience

  7. @thealexmerced thanks! Added to wish list in manning. Better 2buy there vs Amazon to get the ai features?

    I guess Manning got rid of old option to buy coins 2 read individual pages? was a cool feature 2 bad.

    Thanks for reminder about #datafusion i guess it & #polars have excellent #iceberg support & can be used from #rust

    I was thinking about replacing a #pyspark glue job with a rust #lambda on #aws

    Just found your excellent medium account. Best of luck at your upcoming talk!

  8. @thealexmerced thanks! Added to wish list in manning. Better 2buy there vs Amazon to get the ai features?

    I guess Manning got rid of old option to buy coins 2 read individual pages? was a cool feature 2 bad.

    Thanks for reminder about #datafusion i guess it & #polars have excellent #iceberg support & can be used from #rust

    I was thinking about replacing a #pyspark glue job with a rust #lambda on #aws

    Just found your excellent medium account. Best of luck at your upcoming talk!

  9. @thealexmerced congrats on new #iceberg book! Looks good & good timing with all the new features coming out lately. Do you cover much re: cloud architecture or is that too specific (& which cloud would you choose anyway)?

    saw you wrote #polars book as well. What do you think about using polars from #rust ? should work even better than from #python i would think but wasn’t sure. For career security in #ai age i was thinking about switching my #dataengineering focus to rust — thoughts?

  10. @thealexmerced congrats on new #iceberg book! Looks good & good timing with all the new features coming out lately. Do you cover much re: cloud architecture or is that too specific (& which cloud would you choose anyway)?

    saw you wrote #polars book as well. What do you think about using polars from #rust ? should work even better than from #python i would think but wasn’t sure. For career security in #ai age i was thinking about switching my #dataengineering focus to rust — thoughts?

  11. CW: eBooks

    Oui, les livres sont chers en Suisse. Et oui, l'accès au livre de poche est difficile. Pour celles et ceux qui veulent lire Immaculée connexion à prix doux, il y a le livre électronique [allergiques à Google, passez votre chemin], par exemple sur ce site: play.google.com/store/books/de
    #lectures #romans #polars

  12. Just updated my small :python: package polarsgrid for tidyverse-style expand_grid functionality in python polars 🐻‍❄️

    pypi.org/project/polarsgrid/

    Version 0.4.0 has unit tests, more efficient row-index computation, better CI.

    Major new user-facing improvement is that you can now enter any iterable as the input, not just lists. So create your grid with range(10) instead of list(range(10)).

    See this preprint for use-case
    arxiv.org/abs/2509.11741

  13. RE: mastodon.energy/@catalystcoop/

    It's easy to query the bulk Parquet outputs with #polars or @duckdb or @pandas_dev

    So far we've only applied basic transforms -- real dtypes & NULL values, standardized categorical values, etc. But the upgrade to a modern cloud-native format is a huge improvement over nested zipfiles.

    And a big thanks to the folks at the AWS Open Data Registry for giving us a TB of free public storage so we can publish big data like this conveniently.

    Let us know what you think, and what additional kinds of data cleaning, entity classification, record linkage, or additional aggregated outputs would be useful.

    #OpenData #Energy #FOSS

  14. Here is how you can explore massive datasets from the terminal 💯

    🌀 **datui** — A high-performance TUI for analyzing tabular data

    🔥 Query with SQL, render charts, transform data & stream huge files with Polars

    🦀 Written in Rust & built with @ratatui_rs

    ⭐ GitHub: github.com/derekwisong/datui

  15. Polars is a lightning fast DataFrame library/in-memory query engine with parallel execution and cache efficiency. And now you can use is with the tidyverse syntax: tidypolars.etiennebacher.com/ #rstats #polars #optimisation

  16. Happy 3rd anniversary, Bamboo Weekly!

    This is issue 156, marking 3 years of weekly Pandas challenges.

    This week, we look at Winter Olympic data. Since they love snow so much, we'll use along with .

    Check it out, at BambooWeekly.com.

  17. AU CARNOTZET - Le 30 janvier, je vous retrouve au Carnotzet de La Russille pour parler polars! Rendez-vous à 20 h. Dédicaces et vente de livres après la rencontre 📚
    larussille.ch/activites/retrou
    #vd #polars #thrillers #culture #suisseromande #livres #carnotzet

  18. AU CARNOTZET - Le 30 janvier, je vous retrouve au Carnotzet de La Russille pour parler polars! Rendez-vous à 20 h. Dédicaces et vente de livres après la rencontre 📚
    larussille.ch/activites/retrou
    #vd #polars #thrillers #culture #suisseromande #livres #carnotzet

  19. AU CARNOTZET - Le 30 janvier, je vous retrouve au Carnotzet de La Russille pour parler polars! Rendez-vous à 20 h. Dédicaces et vente de livres après la rencontre 📚
    larussille.ch/activites/retrou
    #vd #polars #thrillers #culture #suisseromande #livres #carnotzet

  20. AU CARNOTZET - Le 30 janvier, je vous retrouve au Carnotzet de La Russille pour parler polars! Rendez-vous à 20 h. Dédicaces et vente de livres après la rencontre 📚
    larussille.ch/activites/retrou
    #vd #polars #thrillers #culture #suisseromande #livres #carnotzet

  21. Je fignole ma première infolettre de l'année. Pour vous abonner et participer aux concours (livres à gagner): emmanuellerobert.ch/#lecontact
    (Je l'envoie avec la solution suisse d'Infomaniak)
    #newsletter #infolettre #polar #polars #suisseromande

  22. Je fignole ma première infolettre de l'année. Pour vous abonner et participer aux concours (livres à gagner): emmanuellerobert.ch/#lecontact
    (Je l'envoie avec la solution suisse d'Infomaniak)
    #newsletter #infolettre #polar #polars #suisseromande

  23. Je fignole ma première infolettre de l'année. Pour vous abonner et participer aux concours (livres à gagner): emmanuellerobert.ch/#lecontact
    (Je l'envoie avec la solution suisse d'Infomaniak)
    #newsletter #infolettre #polar #polars #suisseromande

  24. data challenge: rolling median

    library(data.table)
    set.seed(108)
    x = rnorm(1e8)
    n = 1000
    frollmedian(x, n) |> system.time()
    # user system elapsed
    # 8.439 0.727 3.212

  25. Прививаем машине музыкальный вкус: фильтруем плейлист на основе предпочтений

    Раньше это было способом скоротать время в дороге, но теперь чтобы найти музыкальную "жемчужину" нужно несколько часов сфокусированного прослушивания новинок. Встал выбор: забить или.. Однажды у меня возникла идея, что с моим музыкальным хобби мне могло бы помочь ML. БОльшая часть входящего материала не соответствует моему персональному фильтру. Если убрать ее, то я снова смогу делать подборку в фоне и получать удовольствие Я не эксперт в ML, но задача вроде бы понятная - готовим датасет, берем модель, обучаем, приключение на 20 минут. . ..сейчас, спустя год, когда мой pet-project наконец-то работает. Я смотрю на путь, который привел меня к этому результату. Даже не с точки зрения технологий(про ML лучше писать мастерам игры), а с точки зрения логики решения глазами разработчика. Вот этим я и хочу поделиться

    habr.com/ru/articles/979484/

    #музыка #рекомендации #polars #essentia #librosa #telethon

  26. Прививаем машине музыкальный вкус: фильтруем плейлист на основе предпочтений

    Раньше это было способом скоротать время в дороге, но теперь чтобы найти музыкальную "жемчужину" нужно несколько часов сфокусированного прослушивания новинок. Встал выбор: забить или.. Однажды у меня возникла идея, что с моим музыкальным хобби мне могло бы помочь ML. БОльшая часть входящего материала не соответствует моему персональному фильтру. Если убрать ее, то я снова смогу делать подборку в фоне и получать удовольствие Я не эксперт в ML, но задача вроде бы понятная - готовим датасет, берем модель, обучаем, приключение на 20 минут. . ..сейчас, спустя год, когда мой pet-project наконец-то работает. Я смотрю на путь, который привел меня к этому результату. Даже не с точки зрения технологий(про ML лучше писать мастерам игры), а с точки зрения логики решения глазами разработчика. Вот этим я и хочу поделиться

    habr.com/ru/articles/979484/

    #музыка #рекомендации #polars #essentia #librosa #telethon

  27. Прививаем машине музыкальный вкус: фильтруем плейлист на основе предпочтений

    Раньше это было способом скоротать время в дороге, но теперь чтобы найти музыкальную "жемчужину" нужно несколько часов сфокусированного прослушивания новинок. Встал выбор: забить или.. Однажды у меня возникла идея, что с моим музыкальным хобби мне могло бы помочь ML. БОльшая часть входящего материала не соответствует моему персональному фильтру. Если убрать ее, то я снова смогу делать подборку в фоне и получать удовольствие Я не эксперт в ML, но задача вроде бы понятная - готовим датасет, берем модель, обучаем, приключение на 20 минут. . ..сейчас, спустя год, когда мой pet-project наконец-то работает. Я смотрю на путь, который привел меня к этому результату. Даже не с точки зрения технологий(про ML лучше писать мастерам игры), а с точки зрения логики решения глазами разработчика. Вот этим я и хочу поделиться

    habr.com/ru/articles/979484/

    #музыка #рекомендации #polars #essentia #librosa #telethon

  28. Прививаем машине музыкальный вкус: фильтруем плейлист на основе предпочтений

    Раньше это было способом скоротать время в дороге, но теперь чтобы найти музыкальную "жемчужину" нужно несколько часов сфокусированного прослушивания новинок. Встал выбор: забить или.. Однажды у меня возникла идея, что с моим музыкальным хобби мне могло бы помочь ML. БОльшая часть входящего материала не соответствует моему персональному фильтру. Если убрать ее, то я снова смогу делать подборку в фоне и получать удовольствие Я не эксперт в ML, но задача вроде бы понятная - готовим датасет, берем модель, обучаем, приключение на 20 минут. . ..сейчас, спустя год, когда мой pet-project наконец-то работает. Я смотрю на путь, который привел меня к этому результату. Даже не с точки зрения технологий(про ML лучше писать мастерам игры), а с точки зрения логики решения глазами разработчика. Вот этим я и хочу поделиться

    habr.com/ru/articles/979484/

    #музыка #рекомендации #polars #essentia #librosa #telethon

  29. Discover how Decathlon, one of the world’s leading sports retailers, adopted the #opensource library #Polars to optimize its data workflows.

    By migrating from Apache Spark to Polars for small input datasets, Decathlon achieved:
    • Significant speed
    • Meaningful cost savings

    👉 Learn more: bit.ly/4qmb2zc

    #InfoQ #AI #ApacheSpark

  30. LangChain + Polars tạo nên agent độc đáo: Trí thông minh dữ liệu (Data Engineering) kết hợp kiểm toán cực kỳ cẩn trọng. Agent xử lý dữ liệu nhanh (Polars) + logic linh hoạt (LangChain) cho kết quả an toàn, hiệu quả. #LangChain #Polars #DataEngineering #AgentAI #KhoaHocDuLieu

    reddit.com/r/SideProject/comme

  31. [Перевод] Почему Python — не лучший язык для data science. Часть 2 — Python против R

    Команда Python for Devs подготовила перевод статьи о том, почему Python — несмотря на свою популярность — не всегда идеален для Data Science. Автор показывает, как отсутствие нестандартной оценки выражений усложняет анализ данных, и сравнивает Python с R, где такие задачи решаются куда элегантнее.

    habr.com/ru/articles/971372/

    #python #datascience #tidyverse #pandas #векторизация #polars

  32. Восемь высокопроизводительных Python-библиотек в копилку разработчикам

    Когда в 1991 году Гвидо ван Россум представил миру Python, никто не мог предсказать, какое место через несколько десятилетий этот язык займет в веб-разработке, Data Science и Machine Learning. Сейчас Python продолжает развиваться: с новым поколением инструментов в прошлое уходят традиционные ограничения — производительность, GIL и сложность параллельных вычислений. Привет, Хабр! С вами Леша Жиряков, я руковожу бэкенд-направлением витрины KION, возглавляю гильдию по Python и пишу для блога MWS на Хабре. Я каждый день сталкиваюсь с вызовами высоконагруженных систем и сформировался пул инструментов, которые помогают решать критические проблемы современной разработки — от обработки данных с Polars до управления зависимостями с UV. В этом материале я сделаю обзор Python-библиотек, с которыми можно создавать системы, сравнимые по производительности с Go и Rust.

    habr.com/ru/companies/ru_mts/a

    #библиотеки #python #fastapi #litestar #polars #httpx #dask #Pydantic_V2 #ruff #Pithon_UV

  33. The more I work with in , the more I appreciate how good it is. Syntax means that R and {dplyr} will always have a place in my heart, but polars fun too.

    It was only today I realised that in `polars.Expr.replace()`, "passing a mapping with replacements is also supported as syntactic sugar."

    Just what I wanted. Thanks to all who worked on it.

    docs.pola.rs/api/python/stable

  34. In our latest blog post we compare the syntax of two Python libraries, Pandas and Polars for standard data-manipulation tasks.


    jumpingrivers.com/blog/python-

  35. Polars is a lightning fast DataFrame library/in-memory query engine with parallel execution and cache efficiency. And now you can use is with the tidyverse syntax: tidypolars.etiennebacher.com/ #rstats #polars #optimisation

  36. "Personally, I would not recommend working with the Rust API for #polars yet. Suddenly, they rip out an interoperability function like the support for the official Arrow implementation, and you scramble to fix it. The Polars #rust library serves as a WIP for the Python project, and the rough edges feel endless.

    The documentation tells a similar story. The deeper you go, the worse the documentation gets. This truly rears its ugly head when you must use the internal Polars crates like polars-arrow."

    kindberg.earth/blog/polars-dat

    Cannot agree more.

  37. @arildsen @mkennedy

    Found out today that Nushell is using and that plugins can be written in :python: fosstodon.org/@tsvenson/115406

  38. Polars — «убийца Pandas» на максималках

    Всем привет! Меня зовут Александр Андреев, я инженер данных. Сегодня я хочу рассказать вам о библиотеке Polars - потенциальной замене Pandas, любимой у большинства дата-инженеров и дата-саентистов библиотеки для работы с данными. В своей статье я последовательно пройдусь от истории библиотеки Polars до примеров кода, технических аспектов ее производительности и в конце дам ссылки на все бенчмарки, обучающие материалы и дополнительные статьи, которые использовались для написания данного обзора-туториала по этой замечательной библиотеке.

    habr.com/ru/articles/946788/

    #polars #pandas #data_engineering #data_science #data_analysis #dataframe #library #python #rust #dataset

  39. Polars — «убийца Pandas» на максималках

    Всем привет! Меня зовут Александр Андреев, я инженер данных. Сегодня я хочу рассказать вам о библиотеке Polars - потенциальной замене Pandas, любимой у большинства дата-инженеров и дата-саентистов библиотеки для работы с данными. В своей статье я последовательно пройдусь от истории библиотеки Polars до примеров кода, технических аспектов ее производительности и в конце дам ссылки на все бенчмарки, обучающие материалы и дополнительные статьи, которые использовались для написания данного обзора-туториала по этой замечательной библиотеке.

    habr.com/ru/articles/946788/

    #polars #pandas #data_engineering #data_science #data_analysis #dataframe #library #python #rust #dataset

  40. Polars — «убийца Pandas» на максималках

    Всем привет! Меня зовут Александр Андреев, я инженер данных. Сегодня я хочу рассказать вам о библиотеке Polars - потенциальной замене Pandas, любимой у большинства дата-инженеров и дата-саентистов библиотеки для работы с данными. В своей статье я последовательно пройдусь от истории библиотеки Polars до примеров кода, технических аспектов ее производительности и в конце дам ссылки на все бенчмарки, обучающие материалы и дополнительные статьи, которые использовались для написания данного обзора-туториала по этой замечательной библиотеке.

    habr.com/ru/articles/946788/

    #polars #pandas #data_engineering #data_science #data_analysis #dataframe #library #python #rust #dataset

  41. Polars — «убийца Pandas» на максималках

    Всем привет! Меня зовут Александр Андреев, я инженер данных. Сегодня я хочу рассказать вам о библиотеке Polars - потенциальной замене Pandas, любимой у большинства дата-инженеров и дата-саентистов библиотеки для работы с данными. В своей статье я последовательно пройдусь от истории библиотеки Polars до примеров кода, технических аспектов ее производительности и в конце дам ссылки на все бенчмарки, обучающие материалы и дополнительные статьи, которые использовались для написания данного обзора-туториала по этой замечательной библиотеке.

    habr.com/ru/articles/946788/

    #polars #pandas #data_engineering #data_science #data_analysis #dataframe #library #python #rust #dataset

  42. Polars offers a blazing fast alternative to Pandas with 3-22x performance improvements on common operations. Built in Rust with automatic parallelisation, it uses familiar DataFrame syntax but thinks in expressions rather than columns. Migration can be gradual - start with data loading for immediate wins, then adopt lazy evaluation for full pipeline optimisation. #Polars #Pandas #DataScience #Python #Performance #DataAnalysis #MachineLearning #BigData kdnuggets.com/polars-for-panda

  43. 🐻‍❄️ If you're a fan of Polars dataframes, you’ll be thrilled to know that Spyder 6.1 will support them out of the box!! 🥳🥰

    There’s one minor caveat though ...

    🧐 For this you’ll need to install the Pyarrow package as well.

    😎 But fear not, we’ll give you a nice warning when Pyarrow is missing.

  44. Навайбкодил самый быстрый xlsx editor

    Предыстория: я фрилансер, основные деньги получаю, делая инструменты для редактирования xlsx файлов. Когда работы с Excel много, часто скапливаются задачи, что можно автоматизировать, но они делаются вручную. Я и пишу программы, что получают xlsx файл и обрабатывают данные с листов в удобный вид. Всё быстро, просто, понятно (одну кнопку нажать) и удобно.

    habr.com/ru/articles/929592/

    #rust #python #excel #xlsx #polars #вайбкодинг