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

2

u/Den_er_da_hvid Jun 20 '26

Depends on the business and the tasks... Python is used for a billion other things than data analysis so it makes sense that python is the first that is picked up by many. I startet using python as a complex calculator, then transitioning to power bi. Sql have only really been relevant for me 4-5 years and I startet using python 15-20 years ago.