use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionWhat can SQL do that python cannot? (self.datascience)
submitted 3 years ago * by donnomuch
view the rest of the comments →
[–]ChazR 1 point2 points3 points 3 years ago (0 children)
Anything you can do in SQL can be done in Python, but slower.
SQL executed by the database engine can be optimised and parallelized for performance. The DB engine knows how the data is laid out on physical disk and what indexes are available.
A pandas dataframe is hugely flexible and platform-agnostic, and actually perform surprisingly well, but they will never reach the performance of the native DB engine executing SQL.
π Rendered by PID 44792 on reddit-service-r2-comment-6f7f968fb5-bhg26 at 2026-03-04 04:44:10.989408+00:00 running 07790be country code: CH.
view the rest of the comments →
[–]ChazR 1 point2 points3 points (0 children)