Modern Pandas (Part 2): Method Chaining
11–20 of 72 posts
Re: Modern Pandas (Part 2): Method Chaining
#12I've always found pandas really hard to use or reason about. I eventually get there but I don't like the code. Obviously subjective. I've never used another "data science" language though so I've no experience beyond it.
Re: Modern Pandas (Part 2): Method Chaining
#13Pandas may be OK for people who need to do a little data processing in their Python project, but I still recommend R and the tidyverse to those who need a serious tool of thought for analytics. Everything is so much more tidy and concise and intuitive and flexible. You can usually write code that directly expresses your high-level intent with a minimum of syntactic cruft. Full disclosure - the downside of modern R is…
There are a number of good packages in Python specializing in variations of powerful chained processing in Pandas. My own is this one: https://github.com/WinVector/data_algebra .
I do want to note that "there are many things for X in language Y" isn't necessarily a positive thing. It often means the community lacks the clarity of thinking or will to converge on one excellent product. Instead there are lots of okayish things each developed by a single person or handful of people.
Re: Modern Pandas (Part 2): Method Chaining
#14I've always found pandas really hard to use or reason about. I eventually get there but I don't like the code. Obviously subjective. I've never used another "data science" language though so I've no experience beyond it.
It has a rather different api, and is significantly faster. Highly recommend it.
Re: Modern Pandas (Part 2): Method Chaining
#15Re: Modern Pandas (Part 2): Method Chaining
#16Re: Modern Pandas (Part 2): Method Chaining
#17I've always found pandas really hard to use or reason about. I eventually get there but I don't like the code. Obviously subjective. I've never used another "data science" language though so I've no experience beyond it.
Re: Modern Pandas (Part 2): Method Chaining
#18Pandas may be OK for people who need to do a little data processing in their Python project, but I still recommend R and the tidyverse to those who need a serious tool of thought for analytics. Everything is so much more tidy and concise and intuitive and flexible. You can usually write code that directly expresses your high-level intent with a minimum of syntactic cruft. Full disclosure - the downside of modern R is…
It's intuitive to you but I have always found R a real pain to deal with. I acknowledge all of Pandas' flaws but R is not for me, and I've used it a lot in the past. It's all subjective and dependent on the context and requirements of a project.
Re: Modern Pandas (Part 2): Method Chaining
#19I've always found pandas really hard to use or reason about. I eventually get there but I don't like the code. Obviously subjective. I've never used another "data science" language though so I've no experience beyond it.
I'd recommend checking out polars as an alternative to pandas - https://github.com/pola-rs/polars It has a rather different api, and is significantly faster. Highly recommend it.
Re: Modern Pandas (Part 2): Method Chaining
#20.pipe(lambda df: (df, pdb.set_trace())[0])