Hacker GitHub

← All repos

machow/siuba

View on GitHub ↗ ★ 1,185 Python

Python library for using dplyr like syntax with pandas and SQL

16 mentions on Hacker News by 4 people: 1 story, 15 comments · first 2019-10-18 · latest 2022-11-02

Mentions per year 16 mentions · busiest year 2020 (6)
20082026
  1. https://github.com/machow/siuba for one
  2. …I'm hopeful that someone hits the data analysis sweet spot for python in the next couple years. [1]: http://github.com/machow/siuba [2]: https://youtu.be/w4Mi0u4urbQ
    comment by closed · 2022-07-02 · in Python for Data Analysis, 3rd Edition
  3. For further inspiration, this is a pretty good-looking "dplyr for Python": https://github.com/machow/siuba There's precedent in Ecto for a "magic" operator (`^` if I'm not mistaken), so it wouldn't be a stretch to implement it here as well.
  4. …dplyr-like Pandas alternative) is one project that does it, and it also has a "pipeline operator": https://github.com/machow/siuba (mtcars >> group_by(_.cyl) >> summarize(avg_hp = _.hp.mean()) ) (Edit: ok, it seems siuba doesn't have the…
  5. See ' https://github.com/machow/siuba '.
    comment by bayesian_horse · 2022-01-26 · in A trick to have arbitrary infix operators in Python
  6. …Siuba has come a long way since I wrote this, and now can optimize for fast grouped operations!: * https://github.com/machow/siuba * https://siuba.readthedocs.io/en/latest/developer/pandas-grou...
  7. …me how people use SELECT * -> pandas, but also how people in SQL type a ton of code over and over. https://github.com/machow/siuba
    comment by closed · 2021-05-04 · in Practical SQL for Data Analysis
  8. …record folder[2]. [1]: https://siuba.readthedocs.io/en/latest/developer/pandas-grou... [2]: https://github.com/machow/siuba/blob/master/examples/archite...
    comment by closed · 2021-01-23 · in Siuba – A Dplyr Port to Python
  9. …in checking it out, happy to try and show how it would generate the query in your readme! https://github.com/machow/siuba One thing I was wondering about the gnarly ast stuff you mention, what about operator overloading? E.g. Q("Select a…
  10. …very fat DataFrame implementation, R an extremely minimal one. (Pros and cons to both approaches). https://github.com/machow/siuba
  11. …like to keep all my work in python :o. Expert R screencasts: https://youtu.be/NY0-IFet5AM Siuba: https://github.com/machow/siuba
  12. …:) (I set aside 2020 to work on this, but quarantine definitely created much more time for it) https://github.com/machow/siuba
  13. …but really appreciate the sheer amount of effort that has gone into its dtype wrangling. [0]: http://github.com/machow/siuba
    comment by closed · 2020-01-30 · in Pandas 1.0
  14. …that does exactly that, including generating dbplyr style SQL queries! Would love your feedback :) https://github.com/machow/siuba
  15. …readable / GitHub editable. I did this with a recent library, siuba, and have not regretted it! https://github.com/machow/siuba/tree/master/docs
    comment by closed · 2019-10-18 · in Four kinds of documentation