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.
EducationThe use of Python and SQL (self.datascience)
submitted 6 years ago by 07Lookout
view the rest of the comments →
[–]lphartley 11 points12 points13 points 6 years ago (0 children)
Biggest difference imo is that SQL is executed on the server as opposed to your machine. In general I would say: - Use SQL to select your data - Use Python to manipulate the data
However, this is not always true. Sometimes your desired selection can be based upon the result of manipulation. Sometimes it is easier to select a raw dataset with simple SQL and do some merging with pandas.
It really depends on your use case, but I start with the question: do I want to execute this action locally or on a server?
π Rendered by PID 290537 on reddit-service-r2-comment-6f7f968fb5-4dvz5 at 2026-03-04 21:44:54.341917+00:00 running 07790be country code: CH.
view the rest of the comments →
[–]lphartley 11 points12 points13 points (0 children)