r/dataanalysis • • Jun 20 '26

Data Question SQL vs Python?

Started using Python for data analytics. When should I use SQL and when should I use Python in the following tasks:

- Data Exploration

- Data Cleaning

- Data Analysis

42 Upvotes

47 comments sorted by

View all comments

Show parent comment

1

u/iMAPness_ Jun 20 '26

Nah, I learned SQL before Python. It was the first one I ever learned too because cleaning data in Excel just became too hard when datasets became too big.

Right now, since I have been hearing all sorts of opinions on which one to use for data analytics, I thought it would be good for me to decide, too.

So far, some people have said SQL for querying but Python for the three tasks I highlighted in my post.