Ir al contenido
Londres, Reino Unido · Fundado en 1994
Español

Unit 1: What Data Science Is and How Projects Work

An introduction to data science, the kinds of questions it answers, the stages of a typical project and how to frame a question that data can genuinely help with.

Unit 1 of 5 · about 54 minutes

1.1 What data science is and what it is for

Data science is the practice of using data to answer questions, support decisions and build products. It combines three broad areas of knowledge: statistics, which provides methods for reasoning about uncertainty; computing, which makes it possible to store, process and model large amounts of data; and domain knowledge, the understanding of a particular business, field or problem that tells you which questions matter and whether an answer makes sense.

The term is used loosely, and job titles vary widely between organisations. What unites the field is a focus on turning raw data into insight or action in a way that is careful, repeatable and honest about its limits.

Four kinds of question

A helpful way to understand what data science does is to group questions into four types, each building on the previous one.

  • Descriptive: what happened? For example, how many customers cancelled their subscription last quarter, and in which regions?
  • Diagnostic: why did it happen? For example, were cancellations higher among customers who experienced delivery problems?
  • Predictive: what is likely to happen? For example, which current customers are most likely to cancel in the next three months?
  • Prescriptive: what should we do? For example, which retention offer, sent to which customers, is likely to keep the most of them at an acceptable cost?

Much valuable work is descriptive and diagnostic. Organisations sometimes rush towards prediction and machine learning when a clear, accurate description of what is already happening would deliver most of the benefit.

Related roles

Data science overlaps with several neighbouring roles. Exact boundaries vary, but a rough guide is:

  • Data analysts focus on describing and explaining data, often through reports, dashboards and ad hoc analysis.
  • Data scientists typically do analysis as well as statistical modelling and machine learning, and may design experiments.
  • Data engineers build and maintain the pipelines and storage systems that make reliable data available.
  • Machine learning engineers focus on putting models into production systems and keeping them running well.

In small organisations one person may cover all these roles. In large ones they may be separate teams. Most projects need a mix of these skills alongside people who understand the business problem.

Where data science is used

Examples appear in almost every sector:

  • retailers forecasting demand so that shelves are stocked without excessive waste;
  • hospitals analysing patterns in admissions to plan staffing;
  • banks detecting unusual transactions that may indicate fraud;
  • public bodies evaluating whether a new service has improved outcomes;
  • manufacturers predicting when equipment is likely to need maintenance;
  • charities identifying which fundraising approaches work best for different supporters.

Remember: data science is a means, not an end. The value lies in better decisions and outcomes, not in the sophistication of the technique used.

What data science cannot do

Data can only tell you about what has been recorded. If important factors were never measured, or the data reflects past practices that were unfair or inefficient, analysis may reproduce those problems. Data science also cannot remove uncertainty entirely: it can only help you understand and manage it. Finally, a technically excellent analysis is worthless if nobody trusts it or acts on it, which is why communication matters as much as calculation.

Common misconceptions

  • "More data always means better answers." Large amounts of poor-quality or irrelevant data can mislead. Relevance and quality usually matter more than size.
  • "The numbers speak for themselves." Every analysis involves choices about what to measure, include and compare. These choices need to be explained.
  • "Data science is mostly about clever algorithms." In practice, much of the time goes on understanding the problem, finding and cleaning data and communicating results.

In practice

Think of a decision your team made recently. Which of the four question types were involved? Was there data that could have helped, and was it used? For one current issue, try writing a descriptive, a diagnostic, a predictive and a prescriptive question. You will often find that answering the descriptive question well is the essential first step, and that it may be possible with tools you already have, such as a spreadsheet.

1.2 The data science workflow

Data science projects vary enormously, but most follow a similar sequence of stages. Knowing these stages helps you plan work, estimate effort, spot where projects tend to go wrong and communicate progress to others. One widely used model is CRISP-DM (the Cross-Industry Standard Process for Data Mining), which has influenced many later variations. The version below is a simplified, practical workflow.

1. Understand the problem

Every project should begin with a clear understanding of the decision or goal it supports. Who will use the result? What will they do differently depending on the answer? How will success be measured? What constraints apply, such as deadlines, budgets or legal requirements? Skipping this stage is the most common reason that projects produce technically impressive work that nobody uses.

2. Acquire and understand the data

Next, identify which data is available, where it comes from, who owns it and whether you are permitted to use it for this purpose. Early exploration reveals how the data was collected, what each field means and how complete it is. This often prompts a return to stage 1, because the data may not support the original question.

3. Prepare the data

Raw data is rarely ready to use. Preparation includes combining sources, correcting errors, handling missing values, standardising formats and creating new variables. This stage frequently takes the largest share of project time and has a major influence on the quality of the results.

4. Explore and analyse

Exploratory data analysis uses summaries and charts to understand patterns, relationships and anomalies. For many questions, careful exploration and description provide the answer. For others, it guides the choice of a more formal statistical test or model.

5. Model

Where needed, a statistical or machine learning model is built to estimate relationships, make predictions or classify cases. Models are trained on one part of the data and tested on another to check how well they would perform on new cases.

6. Evaluate

Evaluation asks two questions. Is the result technically sound? And does it actually meet the business need defined in stage 1? A model with impressive accuracy may still be unusable if it is too slow, too hard to explain or unfair to some groups.

7. Communicate and deploy

Results must reach the people who will act on them, in a form they understand. That might be a short report, a presentation, a dashboard or a model built into a business system. Deployment is not the end: data and circumstances change, so models and reports need monitoring and periodic review.

Tip: the workflow is a cycle, not a straight line. Expect to loop back, especially between understanding the problem, exploring the data and preparing it. Plan time for this rather than treating it as failure.

Reproducibility

Good data science is reproducible: someone else, or you in six months, should be able to rerun the work and get the same result. Practical habits include:

  • keeping raw data unchanged and recording every transformation step, ideally in code rather than manual edits;
  • using version control for code and documenting which data version was used;
  • writing short notes on assumptions and decisions as you go;
  • organising files in a consistent structure.

Analysts working in spreadsheets can apply the same principles by keeping an untouched copy of the original data, using separate sheets for each stage and noting what was changed and why.

Common mistakes

  • Starting with a technique ("let us use machine learning") rather than a problem.
  • Underestimating time needed for data preparation.
  • Working in isolation and presenting results to stakeholders only at the end.
  • Delivering a model or dashboard with no plan for maintaining it.

In practice

Before starting your next analysis, however small, write a one-paragraph project brief covering the decision it supports, the intended audience, the data you expect to use, what a useful answer would look like and the deadline. Share it with the person who requested the work and ask them to confirm it. This takes minutes and prevents many of the misunderstandings that derail data projects.

1.3 Framing questions and understanding types of data

Good data science starts with a good question. A vague request such as "can you look at the sales data?" can lead in many directions, most of them unhelpful. This lesson shows how to turn broad requests into clear, answerable questions and introduces the types of data and tools you will encounter.

From vague request to useful question

A well-framed analytical question is usually:

  • specific: it names the population, measure and time period;
  • linked to a decision: the answer would change what someone does;
  • answerable with available data, or with data that could reasonably be collected;
  • measurable: it is clear what result would count as an answer.

Compare "why are sales down?" with "Did average weekly sales per store fall more in stores that reduced opening hours in March than in stores that did not, and by how much?" The second version is narrower, but it can actually be answered, and the answer can inform a decision about opening hours.

Questions to ask the requester

  1. What decision will this analysis inform?
  2. What do you already believe, and what would surprise you?
  3. How precise does the answer need to be?
  4. When is it needed, and in what format?
  5. Are there groups, periods or products that should be included or excluded?

Structured and unstructured data

Structured data is organised in rows and columns, as in a spreadsheet or database table, where each row represents one item, such as a customer or transaction, and each column represents one attribute. Unstructured data includes free text, images, audio and video. Much of the world's data is unstructured, and techniques such as natural language processing can extract structured information from it, for example classifying customer comments by topic.

Types of variable

Within structured data, the type of each variable determines which summaries, charts and methods are appropriate.

TypeDescriptionExamples
Categorical (nominal)Categories with no natural orderRegion, product type, payment method
Categorical (ordinal)Categories with a meaningful orderSatisfaction rating from "very poor" to "very good"
Numerical (discrete)Counts that take whole-number valuesNumber of items in a basket
Numerical (continuous)Measurements that can take any value in a rangeDelivery time, temperature, price
Date and timePoints or periods in timeOrder date, appointment time

A frequent error is treating codes as numbers. A product code of 1042 is a label, not a quantity, so calculating its average is meaningless. Similarly, the gaps between ordinal categories are not necessarily equal, so averaging satisfaction scores should be done with care.

Remember: before analysing any column, ask what one row represents and what each value in the column means. Many analytical mistakes start with a misunderstanding at this basic level.

Common tools

Data science uses a range of tools, and the best choice depends on the task and the organisation.

  • Spreadsheets are ideal for small datasets, quick exploration and sharing simple results.
  • SQL (Structured Query Language) is the standard language for retrieving and combining data from relational databases.
  • Python and R are programming languages widely used for data preparation, statistics, machine learning and visualisation, supported by extensive free libraries.
  • Business intelligence tools create interactive dashboards and reports for non-technical users.
  • Notebooks combine code, results, charts and explanatory text in one document, which helps reproducibility and communication.

Generative AI assistants can now help write code, explain errors and suggest analyses. They are useful, but their outputs must be checked carefully, and sensitive data should only be shared with tools your organisation has approved.

In practice

Take a dataset you use at work and write a short description of it: what one row represents, how many rows there are, and the type of each main column. Then take a vague request you have received and rewrite it using the checklist above. Share both with a colleague. You will often discover different assumptions about what the data means or what was really being asked, and it is far better to find these at the start.

Case study: Reframing a request at a regional bus operator

Moorland Buses, a fictional regional transport company, asked its new analyst to "find out why passenger numbers are falling". Rather than start on the data immediately, she met the commercial manager to understand the decision behind the request. It emerged that the company was considering cutting evening services on several routes and wanted to know whether earlier timetable changes had driven passengers away.

Together they agreed a sharper question: had weekday passenger journeys on routes whose evening frequency was reduced last year fallen more than on comparable routes where it was unchanged? They agreed that the answer was needed in three weeks, as a short report with a clear chart.

Exploring the ticketing data, the analyst found that journeys made with a new mobile ticket were recorded in a separate system and had been missing from earlier reports. Once combined, the overall fall was much smaller than believed. The evening-reduction routes did show a larger decline, which the company used to reconsider its plans.

Activity

Choose a broad question that someone in your organisation has asked, or might ask, about data. Rewrite it as a specific, decision-linked question using the checklist from this unit. List the data you would need, the type of each main variable and one risk that could make the answer misleading.

Compare with a model answer

A good answer starts with a realistic broad question, such as "are our customers happy?", and turns it into something specific: "Has the average satisfaction rating from post-purchase surveys fallen for online orders in the last six months compared with the previous six, and does any fall differ by delivery method?" It links this to a decision, for example whether to change delivery partners.

It lists the data needed, such as survey responses, order dates, channel and delivery method, and classifies each variable correctly: satisfaction as ordinal, dates as date variables, channel and delivery method as nominal categories. A sensible risk is that only unhappy or very happy customers respond to surveys, so results may not represent all customers.

Key takeaways

  • Data science combines statistics, computing and domain knowledge to answer questions and support decisions.
  • Questions can be descriptive, diagnostic, predictive or prescriptive, and good descriptive work is often the most valuable first step.
  • Most projects follow a cyclical workflow from understanding the problem through data preparation, analysis, modelling, evaluation and communication.
  • A well-framed question is specific, linked to a decision, answerable with available data and measurable.
  • Understanding what each row and variable represents, and the type of each variable, prevents many basic analytical errors.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Course overview Unit 2 →
WhatsApp