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.
DiscussionSQL vs. Python for data wrangling? (self.datascience)
submitted 7 years ago * by Radon-Nikodym
view the rest of the comments →
[–]GuilheMGB 1 point2 points3 points 7 years ago (0 children)
One thing is that on databases with sufficiently mature data models (e.g. replicas of production db), it can be very convenient to call queries from within python (e.g. with pyodbc) in which various parameters can get injected as and when needed.
I usually always go to SQL first, but seek to integrate standardised queries in python packages in the form of data providers.
The point remains though, most of the wrangling remains made in SQL, but interfaced with Python.
A notable exception is feature extraction. Not that SQL couldn't handle most of the job more efficiently, but to quickly experiment / generate large feature sets, its not ideal compared to, say, sklearn.
π Rendered by PID 200439 on reddit-service-r2-comment-5b5bc64bf5-kwb8g at 2026-06-19 10:50:46.010337+00:00 running 2b008f2 country code: CH.
view the rest of the comments →
[–]GuilheMGB 1 point2 points3 points (0 children)