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
20082026
-
https://github.com/machow/siuba for one
comment by throwamon · 2022-11-02 · in Method Chaining in Pandas: Bad Form or a Recipe for Success? -
…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 -
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.
comment by throwamon · 2022-04-30 · in Explorer – A library to bring dataframes to Elixir -
…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…
comment by throwamon · 2022-02-21 · in More intuitive partial function application in Python -
See ' https://github.com/machow/siuba '.
comment by bayesian_horse · 2022-01-26 · in A trick to have arbitrary infix operators in Python -
…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...
comment by closed · 2022-01-17 · in What would it take to recreate dplyr in Python? (2020) -
…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 -
…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 -
…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…
comment by closed · 2020-10-23 · in Show HN: Csql – Python lib for composeable SQL queries -
…very fat DataFrame implementation, R an extremely minimal one. (Pros and cons to both approaches). https://github.com/machow/siuba
comment by closed · 2020-07-05 · in Ask HN: What weird or hard problems are you trying to solve? -
…like to keep all my work in python :o. Expert R screencasts: https://youtu.be/NY0-IFet5AM Siuba: https://github.com/machow/siuba
comment by closed · 2020-07-05 · in Scaling Pandas: Comparing Dask, Ray, Modin, Vaex, and Rapids -
…:) (I set aside 2020 to work on this, but quarantine definitely created much more time for it) https://github.com/machow/siuba
comment by closed · 2020-05-13 · in Ask HN: What's your quarantine side project? -
…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 -
…that does exactly that, including generating dbplyr style SQL queries! Would love your feedback :) https://github.com/machow/siuba
comment by closed · 2020-01-21 · in Five methods for Filtering data with multiple conditions in Python -
…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