…at code for polars looks more readable in general: it takes transactions table t and users table u, joins them and filters out blocked users and transactions by referencing itself, while pandas makes to save some middle state data of merging and filtering out, which is still okay. After that, both code snippets do grouping by category and summarization action over the correspond…

Polars vs Pandas: what is more convenient?
63
6

Ilia Ozhmegov

Ashraf Miah

Ashraf Miah

·

Follow

Nov 24, 2022

--

`pandas` does not do this. Instead of using `pd.merge` you could have used a DataFrame merge and in fact just like `polars` constructed a single expression to do the same thing.

--

--

Ashraf Miah

Written by Ashraf Miah

98 Followers

Data Scientist and Chartered Aeronautical Engineer (MEng CEng EUR ING MRAeS) with over 15 years experience in the Aerospace, Defence and Rail Industry.

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams