Ask five people what a data analyst does and you may get five answers. One says they make charts. Another says they write SQL. A third says they sit in Excel all day. All three are partly right. What is a data analyst is a fair question, because the job looks different in a bank, a hospital, an online shop or a manufacturing company, and job titles keep changing.
In plain words, a data analyst collects, cleans and studies data to help a business make better decisions. The decision might be which product to stock, why sales fell last month, or which customers to call first. The analyst does not make the decision alone. The analyst finds the facts, explains them in simple language, and shows what the data suggests.
This guide explains the data analyst role in practical terms. You will see how it differs from a data scientist and a data engineer, what the work looks like day to day, the skills of a data analyst and the tools used, and the main types of analyst. Most guides describe the job in words only. This one also walks through a real, small analyst task from start to finish, done in both SQL and Python, with the actual output and numbers you can check by hand. By the end you should be able to tell whether this career suits you and know what to learn first.
What is a Data Analyst?
A data analyst turns raw records into answers. Raw records are things like sales entries, website visits, support tickets, stock movements or machine readings. On their own they are just rows in a table. The analyst checks them for errors, joins them with other data, looks for trends and differences, and presents what was found so that managers can act.
Roles with similar work often carry other titles, such as business analyst, business intelligence analyst, marketing analyst, operations analyst or reporting analyst. The titles are not used the same way everywhere, so read the job description and not just the title.
Three things define the job:
- It starts with a question. A good analyst first asks what decision the work will support. Without that, analysis becomes a pile of charts.
- It depends on trustworthy data. Much of the effort goes into getting the data and checking it, before any insight appears.
- It ends with communication. A finding that nobody understands does not change anything.
Data Analyst vs Data Scientist vs Data Engineer
These three roles work with the same data but do different jobs. The table gives the usual split. In small companies one person may do all three, so treat it as a guide and not a rule.
| Role | Main focus | Typical work | Core tools |
|---|---|---|---|
| Data analyst | Answer business questions with existing data | Queries, cleaning, reports, dashboards, explaining results | SQL, Excel, Power BI or Tableau, some Python |
| Data scientist | Build models that predict or classify | Statistics, machine learning, experiments, model testing | Python or R, statistics, machine learning libraries |
| Data engineer | Build and run the systems that move and store data | Pipelines, databases, data warehouses, data quality at scale | SQL, Python, cloud platforms, workflow tools |
A useful way to remember it: the engineer makes sure the data arrives, the analyst finds out what it says, and the scientist builds models that use it to predict. Many people start as analysts and then move toward science or engineering if they like the work. Our post on data mining (link when live) shows where analysis ends and model building begins.
What a Data Analyst Does? The Six Steps of a Task

| Step | What the analyst does | Example |
|---|---|---|
| 1. Ask | Agree the question and how the answer will be used | “Sales fell in September. Where, and is it a real fall?” |
| 2. Get data | Pull the records from databases, files or tools | Run a SQL query on the orders table |
| 3. Clean | Remove repeats, handle gaps, fix formats | Drop a duplicate order, label a missing region |
| 4. Analyse | Compare periods, groups and categories, then drill down | Change by region, then by sales channel |
| 5. Show | Make a chart or table that a manager can read in a minute | A bar chart of change by region |
| 6. Advise | State what the data shows, what it cannot show, and what to check next | “South web orders fell. Ask the web team why.” |
Getting and cleaning data (steps 2 and 3) often takes a large share of the work. Newcomers expect most of the job to be clever analysis, but the careful checking is what makes the analysis believable.
A Real Task Walkthrough in SQL and Python
Here is a small version of a real task. A shop owner says: sales fell from August to September. Where did they fall? We have a file called orders.csv with 17 rows: order number, month, region, sales channel (Web or Store) and amount. The files orders.csv and analyst_demo.py are sent with this post. We ran the script on Python 3.13 with pandas, and everything shown below is its real output.
Step 1: Load the data and look before you trust it
Two problems appear at once. Order 1015 appears twice, so one sale would be counted double. Two orders have no region. A careless analyst would skip this check and report wrong totals.
Step 2: Clean
We drop the repeated order and label the missing regions as Unknown. We keep those two orders instead of deleting them, so the month totals stay correct. Whatever you choose, write it down, because someone will ask later. Deleting the rows would have made September look worse than it is.
Step 3: Check the total first
Check by hand. August orders add up to 1200 + 800 + 1500 + 1300 + 700 + 900 + 600 + 400, which is 7,400. September, after removing the repeat, adds up to 5,940. So sales did fall, by 1,460, or about 19.7 percent.
Step 4: Find where it fell
The picture changes. Total sales fell, but only South fell, by 2,180 (down 62.3 percent). East actually grew by 670. North and Unknown barely moved. A report that said only “sales fell 19.7 percent” would have sent the owner looking in the wrong places.
Step 5: Drill down
Inside South, the Store channel is flat. All of the fall is in Web, which dropped from 2,800 to 600. Now the analyst has a sharp statement to give the owner: the fall is one region and one channel.
The same region result in SQL
In many companies the data sits in a database, so the analyst writes SQL. This query gives the same answer. It runs on SQLite, which comes with Python.
The script checks that the SQL and pandas results match, and that the monthly totals equal the hand count. It ends with the line “All checks passed”.
Step 6: What the analyst says
A short, honest message would read: “September sales were 19.7 percent lower than August. The fall is almost entirely South region, Web channel, where sales dropped from 2,800 to 600. Store sales in South, and other regions, were stable or higher. The data does not say why. Please ask the web team whether anything changed in South in September, such as a stock problem, a site issue or a pricing change.” Notice the last part. Data shows where something happened. It rarely shows why. Saying so is part of being a trustworthy analyst.
Skills a Data Analyst Needs
| Skill | Why it matters | Where to start |
|---|---|---|
| SQL | Most business data sits in databases, and SQL is how you ask for it | Joins, grouping and filtering |
| Excel | Fast exploration, pivot tables and charts, and almost every company uses it | Pivot tables, lookup formulas |
| A reporting tool | Dashboards that managers can open without help | Power BI or Tableau |
| Basic statistics | Averages, medians, spread and correlation tell you whether a change is real or noise | Mean, median, standard deviation |
| Python (growing in importance) | Automates cleaning and handles bigger or messier data | pandas basics |
| Communication | A finding that nobody understands changes nothing | Write a three line summary of each analysis |
| Business sense | Knowing which numbers matter for the company | Learn how your company earns its gross profit |
This is a short view. The full skills guide on Prwatech (link when live) goes deeper on each skill. The order above is a suggestion. If you can learn only two things first, start with Excel and SQL, then add a reporting tool. Python is the next step. Our Python practice guide (link when live) is a good place to practise.
Tools Data Analysts Use
- Excel and Google Sheets for exploring data, pivot tables and quick charts.
- SQL with a database such as MySQL, PostgreSQL or SQL Server to pull and summarise data.
- Power BI and Tableau for dashboards. Read the Prwatech guide to the best data analytics tools on prwatech.in for a longer comparison.
- Python and R for cleaning, statistics and automation.
- Jupyter Notebook to combine code, results and notes in one file.
Tools change faster than the ideas behind them. Learn the ideas (grouping, comparing, checking) and you can move between tools. AI assistants can now draft queries and formulas, and they save time, but you still have to check the result, as the duplicate order in our walkthrough shows. An assistant will not tell you that a repeated row is wrong unless you look.
Types of Data Analyst
| Type | Focus | Typical question |
|---|---|---|
| Business analyst | Processes and decisions across a company | Which step of our order process causes delays? |
| Business intelligence analyst | Dashboards and regular reports | Is every regional manager seeing the same weekly sales numbers? |
| Marketing analyst | Campaigns, website visits and customers | Which pages bring visitors who then enquire? |
| Financial analyst | Costs, margins and forecasts | Which products give the best gross profit? |
| Operations or supply chain analyst | Stock, delivery and production | Where do we run out of stock? |
| Healthcare or public sector analyst | Patient, service or programme data | Which centres have the longest waiting times? |
Do Data Analysts Need to Code?
It depends on the role. Many analyst jobs rely mainly on Excel, SQL and a reporting tool. SQL is a query language, and it counts as light coding. Python or R is often listed as a plus and becomes more important as the data gets larger or messier. The honest advice is to learn SQL early, and learn Python when you are comfortable with the basics. You do not need advanced mathematics or deep machine learning for most analyst roles.
How to Become a Data Analyst?
- Learn Excel properly. Pivot tables, lookups and charts.
- Learn SQL. Practise on a sample database until joins and grouping feel natural.
- Learn one reporting tool. Build a dashboard from a real data set.
- Learn basic statistics so you can tell a real change from random noise.
- Add Python with pandas when you are ready.
- Do two or three small projects in the style of the walkthrough above, and write up each one: the question, the steps, the answer and what the data cannot say.
- Practise explaining. Tell a friend what you found, in three sentences.
For pay, we do not quote a figure. Salaries vary widely by city, company, industry and experience, and the numbers published on career pages are often old or taken from other countries. Check current listings for your city and experience level before you decide.
If you prefer guided training, Prwatech runs a Data Analyst course in Bangalore and a Data Analyst course in Pune. Offline classes are held in Bangalore (BTM Layout) and Pune (Kharadi). Learners in other cities can join live online classes or study at their own pace. For the syllabus, batch dates and fees, please ask the Prwatech learning team through the demo class form below.
AI Tutor