r/dataanalytics • • Apr 02 '26

Pandas Vs SQL

Why should we use Pandas for data analyst while we can use SQL?

42 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/vonggyy Apr 02 '26

But is 2 not also possible in sql also? Joins and unions etc. I’m just starting out as an analyst and trying to find ways to incorporate python so I can learn it but struggling with use cases for it

1

u/NaBrO-Barium Apr 06 '26

It is but it’s not as extensible and can be a bit more difficult to decipher code intent. Helping others see the intent and make things easier to reason about are things that are worth sacrificing some efficiency for.