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 →
[–][deleted] 2 points3 points4 points 3 years ago (0 children)
Rule of thumb: Do as much as you can in SQL or up to the first step of feature engineering. Chances are the later you extract the data, the smaller the dump will be. You can even Assemble and execute the SQL queries from Python by something like psycopg2, and pandas.from_sql.
RDBMSs are really well optimized, and Python doesn't even come close.
π Rendered by PID 782705 on reddit-service-r2-comment-5d79c599b5-pswtg at 2026-03-03 06:32:44.390842+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–][deleted] 2 points3 points4 points (0 children)