Careers in AI

From data analyst to machine learning

Already works with SQL and dashboards, and wants to build models rather than report on them.

If you're a data analyst, you're closer to machine learning than most people who want to get into it. You already know how to pull data, clean it, find what's odd, and explain a number to someone who doesn't care how you got it. Those are skills many ML beginners lack.

What's usually missing is the modelling layer: Python beyond quick scripts, the maths and statistics behind models, how to evaluate a model honestly, and how to build pipelines that don't leak. Those can be learned in order, and you can start using them in your current job.

The most common route is analyst to data scientist, or analyst to ML engineer at a company that knows you. A model that beats your team's current rule is the strongest argument you can make.

A typical week as a data analyst who has moved into ML

  1. Today you report on last month's churn. In the new role, you predict next month's churners and help decide who gets a retention offer.
  2. You already join tables and build features in SQL. Now those features feed a model, and you check that none of them would be unknown at prediction time.
  3. Instead of one number in a dashboard, you present how well the model ranks customers, which mistakes it makes, and what each costs.
  4. You still explain results to the business, which is exactly where analysts who move into ML have an edge.

What the job involves

  • Moves from describing the past to predicting what happens next
  • Builds the first models for a team
  • Checks that a model actually beats the simple rule
  • Explains model results to the business
  • Keeps using SQL and domain knowledge, now as features

Who gets these jobs

You already have the most underrated skills: data handling, domain knowledge and explaining results. Your plan is mostly additive.

Skills, and where you build them

In the order they depend on each other. The stage numbers are where each one is taught in SchoolWhool's Foundations of AI course.

Python beyond quick scriptsStage 1
pandas and plottingStage 2
Statistics for decisionsStage 3
Your first modelsStages 4–6
Evaluation and thresholdsStage 5
Pipelines on messy real dataStage 9
Gradient boosting and explaining modelsStage 10

Tools you'll use

  • SQL (you have it)
  • Python
  • pandas
  • scikit-learn
  • XGBoost or LightGBM
  • Jupyter
  • Git
  • Your current BI tool

Your path, step by step

Rough times assume about 7 hours a week, starting from zero. Skip what you already know.

  1. 01
    Python properly 2–4 weeks

    Functions, data structures and tests, so your analysis code is reusable rather than one-off.

  2. 02
    pandas in place of spreadsheets and SQL-only work 2 weeks

    Rebuild one report you know well in pandas.

  3. 03
    Maths, just in time 3–4 weeks

    Vectors, derivatives and matrices, only what the models need.

  4. 04
    Statistics beyond averages 2–3 weeks

    Distributions, base rates, sampling, and when a difference is real.

  5. 05
    Models and evaluation 6–8 weeks

    Regression, classification, cross-validation, precision and recall, thresholds.

  6. 06
    Real data and stronger models 4–6 weeks

    Pipelines, leakage, gradient boosting and explaining models.

  7. 07
    A project at work ongoing

    Pick one decision your team makes with a rule, and build a model that does better.

What the interviews look like

  • A SQL and pandas round, where you'll have an advantage
  • A statistics and ML fundamentals round
  • A modelling case: frame a business problem as a model and evaluate it
  • A project walkthrough, ideally a model you built on real data

More practice: machine learning interview questions with answers.

How would you turn a churn dashboard into a churn model?

Define churn precisely and the prediction window, build features using only data available before that window, pick a metric that matches the decision (often precision at the top of the list), compare against the current rule, and choose a threshold from the cost of a retention offer.

What's a baseline, and why does it matter?

The simplest sensible prediction: the most common class, the average, or the rule the team already uses. A model is only useful if it beats the baseline by enough to justify its cost.

What is data leakage? Give an example from analytics data.

Using information in training that wouldn't be available at prediction time. For example, predicting cancellations using a "cancellation reason" field that's only filled in after someone cancels.

When is a simple rule better than a model?

When the model's improvement is small, when the rule is easier to explain and maintain, or when there's too little data to train reliably. A model has to earn its place.

How do you handle missing values?

First ask why they're missing, because that's often informative. Then impute inside the pipeline so the imputation is learned from training data only, and consider a flag that marks the value as missing.

Mistakes people make on the way in

Starting over from zero

You don't need to relearn data handling. Spend your time on Python, statistics, models and evaluation.

Staying in SQL and BI tools

Most modelling happens in Python. Moving your daily analysis into pandas is the fastest way to build fluency.

Waiting for permission

The best portfolio project is a model that beats your team's current rule. You can often build it in your current job.

Underselling your domain knowledge

Knowing the business is a real advantage in ML interviews. Use it.

What to put in your portfolio

Hiring managers want work you can walk them through and defend, not certificates alone.

  • A before-and-after: the rule your team used, the model you built, and the measured difference.
  • A pipeline on messy, real data, with leakage checks you can explain.
  • A short memo for the business explaining the model's drivers and limits.

What the market pays

Market figures, not a promise of what you will earn. Pay depends on the employer, the city, your experience and how well you can show your work.

Role and marketFigureSource
India · AI/ML engineer, all employersMedian ≈ ₹9 lakh a year (middle range ≈ ₹5.5–15 lakh)Glassdoor, 606 salaries, May 2026
India · data scientist with AI skillsMedian ≈ ₹10 lakh base, ≈ ₹14.7 lakh total payPayscale, 109 profiles, Nov 2026
US · data scientists, all employersMedian $120,230 a yearUS Bureau of Labor Statistics, May 2025 (official)
US · ML engineer, base payMedian ≈ $155–165K a yearBuilt In and job-board samples, 2026

These are figures for the roles analysts typically move into, data scientist and ML engineer, not for analyst roles themselves.

Questions

About becoming a data analyst moving into machine learning.

Can a data analyst become a machine learning engineer?
Yes, and analysts start ahead of most beginners because they already handle data and explain results. The usual gaps are Python, statistics, model evaluation and pipelines, which can be learned in order.
How long does it take a data analyst to move into machine learning?
It depends on how much Python you already use. Many analysts can build a solid ML foundation in 5 to 7 months at about 7 hours a week, then use a project at work to make the switch.
Do I need Python if I already know SQL?
Yes. SQL stays useful for features and data, but modelling, evaluation and pipelines are done in Python with pandas and scikit-learn.
Should I aim for data scientist or ML engineer?
If you enjoy analysis, experiments and explaining decisions, data science is the natural next step. If you enjoy building systems that run every day, aim for ML engineering. The foundation is the same.

Build the skills, then show them.