Search topics and sections

Data science is the use of statistics, computing, and knowledge of a subject area to learn from data. People who do this work are called data scientists. They gather data, clean it, look for patterns, build models that describe or predict, and explain what they found to others.[1][2]

The field grew out of statistics and computer science. It rose to wide notice in the 2000s and 2010s, when companies and scientists began collecting far more data than older methods could handle.[3][4] Today it is taught as its own subject and is a fast-growing job in the United States.[1][2]

What data scientists do

The U.S. Bureau of Labor Statistics lists these typical duties:[2]

  • Decide which data are available and useful for a project.
  • Collect, sort, and analyze data.
  • Create, check, test, and update algorithms (sets of instructions that tell computers what to do) and models.
  • Present findings with data visualization software.
  • Make recommendations to decision makers based on the analysis.

A project often starts with messy raw data. Data scientists find sources, join them with other data that may be incomplete, and clean the result so software can read it.[3][2] This cleaning step is called data cleansing.

The last step is explaining the results to people. Data scientists share what they learned, often with charts, and advise managers on what it means for products and decisions.[3]

Three kinds of skill

Data science is often described as a mix of three skill sets. Drew Conway drew them as a Venn diagram of three overlapping circles.[5]

  • Hacking skills. Working with files at the command line, thinking in algorithms, and writing code. Conway notes this does not require a computer science degree.
  • Math and statistics knowledge. At least a baseline, such as knowing what an ordinary least squares regression is and how to read it.
  • Substantive expertise. Knowledge of the subject the data describe, which supplies the questions and hypotheses to test.
Drew Conway's data science Venn diagramHacking skillsMath & statisticsknowledgeSubstantive expertiseMachinelearningDangerzoneTraditionalresearchData science
Drew Conway's data science Venn diagram. Hacking skills, math and statistics knowledge, and substantive expertise overlap in pairs to form machine learning, traditional research, and the danger zone, and all three meet in data science.

Each pair of skills without the third falls short, in Conway's view.[5]

  • Code plus math gives machine learning, but not science, which needs questions about the world.
  • Math plus subject knowledge is where most traditional researchers sit, with little training in technology.
  • Code plus subject knowledge is the "danger zone". It lets people produce analyses that look valid without understanding what they mean.

The basic workflow

Most data science projects pass through the same steps. The textbook R for Data Science describes them in this order:[6]

  1. Import. Load the data into the software.
  2. Tidy. Store the data in a consistent form. In tidy data, each column is a variable and each row is an observation.
  3. Transform. Narrow to the cases of interest, create new variables from old ones (such as speed from distance and time), and compute summaries such as counts or means.
  4. Visualize and model. Plots show things you did not expect and raise new questions. Models answer precise questions and generally scale well, but cannot question their own assumptions.
  5. Communicate. Share the results so others can understand and use them.

Tidying and transforming together are called wrangling.[6] Programming runs through every step, since it lets the analyst automate common tasks.[6]

The data science workflowImportTidyTransformVisualizeModelCommunicateWrangleProgram
The data science workflow from R for Data Science runs from import and tidying through a repeating cycle of transforming, visualizing, and modeling to communication. Tidying and transforming together make up wrangling, and programming is part of every step.

Project life cycle

The Cross-industry standard process for data mining (CRISP-DM) is a widely used model of a full project. Its guide, CRISP-DM 1.0, was published in 2000 and splits a project into six phases.[7]

Phase What happens
Business understanding Learn what the customer wants and turn it into a data problem and a plan.
Data understanding Collect initial data, describe it, explore it, and check its quality.
Data preparation Select, clean, build, combine, and format the final dataset.
Modeling Choose modeling methods, design tests, build models, and assess them.
Evaluation Check whether the model meets the business goals and decide next steps.
Deployment Put results into use, plan monitoring, and write a final report.

The order of phases is not fixed. The guide says moving back and forth between phases is always required, and modeling often sends the team back to data preparation.[7] Lessons from a deployed solution can also raise new business questions and start a new cycle.[7]

CRISP-DM cycle Business understanding Data understanding Data preparation Modeling Evaluation Deployment Data New questions
The six CRISP-DM phases form a clockwise cycle around the data. Two-way arrows show work moving back and forth between business understanding and data understanding, and between data preparation and modeling, and an outer arrow carries new questions from deployment back to business understanding.

Data preparation takes much of the effort. Colin Shearer, describing CRISP-DM in 2000, gave generally accepted industry estimates that 50 to 70 percent of time and effort goes to data preparation and 20 to 30 percent to data understanding.[8]

Common tasks and methods

Kinds of problems

The CRISP-DM guide sorts data problems into a few types. A real project usually combines several of them.[7]

  • Description and summarization. Give a short overview of the data, often as a first step of exploratory data analysis.
  • Segmentation. Split the data into meaningful subgroups, often with cluster analysis.
  • Concept description. Give an understandable description of a group, such as loyal customers.
  • Classification. Assign each case to one of several classes, such as good or bad credit risk. See statistical classification.
  • Prediction. Like classification, but the target is a continuous number, such as next year's revenue. See predictive modelling.
  • Dependency analysis. Find links between items or events, such as products often bought together.

Many of these methods come from data mining and machine learning.

Testing a model

A model must be checked on data it has not seen. A common design splits the dataset into a training set and a test set, builds the model on the training set, and estimates its quality on the test set.[7] For classification, the error rate on the test set is a common measure.[7] See training, validation, and test data sets.

Train/test splitDatasetTraining setTest setBuild modelMeasure quality
In a train/test split, the dataset is divided into a larger training set for building the model and a smaller test set held back to measure the model's quality.

Tools

Programming languages and libraries

Data scientists' most basic shared skill is writing code.[3] Most data science teams use a mix of languages, often at least R and Python.[6]

  • The tidyverse is a collection of R packages that share a common approach to data and are designed to work together.[6]
  • pandas is an open-source data analysis and manipulation tool built on Python.[9]
  • The Jupyter Notebook, from Project Jupyter, is a web application for creating and sharing computational documents.[10]

Big data

Some datasets are too large for one computer's memory. Such big data calls for other tools. In 2012, Davenport and Patil described Hadoop as the most widely used framework for "distributed file system processing", meaning software that spreads files and the work on them across many computers.[3] They also noted that Facebook's data team created the language Hive for programming Hadoop.[3]

Many questions do not need all the data. R for Data Science uses in-memory tools, which hold all the data in the computer's working memory, and notes that they handle hundreds of megabytes, and with care a few gigabytes.[6] For larger data it pulls a subset from a database or from Parquet files (a file format often used to store large tables), since a sample is often enough to answer the question.[6]

Relation to statistics and computer science

A superset of fields

How data science differs from statistics is an open debate. Statistician David Donoho wrote in 2017 that data science, as then practiced, amounts to a superset of statistics and machine learning, plus technology for scaling up to big data.[4] He argued that this choice was driven by commercial rather than intellectual developments.[4]

The overlap with statistics is large. Donoho noted that new data science programs share much course content with traditional statistics, and that many academic statisticians saw them as "cultural appropriation".[4]

Prediction and inference

In 2001, Leo Breiman described "two cultures" of statistical modeling.[11]

  • The data modeling culture assumes the data come from a given random (stochastic) model and studies that model.
  • The algorithmic modeling culture treats the process that made the data as unknown and uses algorithms that predict well.

Breiman argued that statistics relied almost only on data models, which kept statisticians from many interesting problems.[11] Donoho summarizes Breiman's call as more emphasis on prediction rather than inference.[4]

Breiman's two cultures of statistical modelingNatureData modeling cultureAlgorithmic modeling culturexxxyyynatureassumed stochastic modelunknownalgorithm predicts y from x
Leo Breiman's two cultures of statistical modeling. In each row, inputs xx go in and responses yy come out. The data modeling culture assumes a stochastic model for nature, while the algorithmic modeling culture treats nature as unknown and fits an algorithm that predicts yy from xx.

Proposed scope of the field

Several statisticians have proposed what an academic data science should cover. In 2001, William S. Cleveland set out six technical areas, with a suggested share of effort for each:[4]

Area Share
Multidisciplinary investigations 25%
Models and methods for data 20%
Computing with data 15%
Pedagogy 15%
Tool evaluation 5%
Theory 20%

Donoho later merged ideas from Cleveland and John Chambers into six divisions of what he called "greater data science":[4]

  1. Data gathering, preparation, and exploration
  2. Data representation and transformation
  3. Computing with data
  4. Data modeling
  5. Data visualization and presentation
  6. Science about data science

History

The ideas behind data science are older than its name, and the field took shape over about half a century.

Timeline of data science, 1960 to 2020 1960197019801990200020102020 Tukey: The Future of Data Analysis Naur defines data science Wu: Statistics = Data Science? CRISP-DM 1.0 Cleveland action plan; Breiman two cultures The Fourth Paradigm Michigan $100M initiative Job title data scientist coined HBR: sexiest job National Academies report
Milestones in the history of data science from 1962 to 2018, placed to scale on a timeline running from 1960 to 2020.

Early ideas

In 1962, John Tukey published "The Future of Data Analysis" in The Annals of Mathematical Statistics.[4] He argued that "data analysis" was a new science rather than a branch of mathematics, and that statistics should widen its scope.[4]

In 1974, Danish computer scientist Peter Naur used the term in his book Concise Survey of Computer Methods. He defined data science as "the science of dealing with data, once they have been established", leaving the link between data and what they represent to other fields.[12]

Naming the field

In 1997, statistician C. F. Jeff Wu gave a lecture at the University of Michigan titled "Statistics = Data Science?".[13] He described statistics as a trilogy of data collection, data analysis, and decision making, and suggested renaming statistics "data science" and statisticians "data scientists".[13]

The job title came from industry. Davenport and Patil wrote that DJ Patil and Jeff Hammerbacher, then leading data efforts at LinkedIn and Facebook, coined "data scientist" in 2008.[3] In 2012, Thomas H. Davenport and Patil called data scientist "the sexiest job of the 21st century".[3]

Growth in science and industry

Scientists also began to treat data as a new way of doing research. The Fourth Paradigm (2009), edited by Tony Hey, Stewart Tansley, and Kristin Tolle, expands on Jim Gray's vision of a fourth paradigm of discovery based on data-intensive science.[14] It frames this as a step beyond experiment, theory, and computer simulation.[14]

Business demand grew quickly. In 2012, Davenport and Patil wrote that no university offered degrees in data science and that the shortage of data scientists was limiting some sectors.[3] By 2015, programs had appeared at major universities, and the University of Michigan announced a $100M Data Science Initiative that aimed to hire 35 new faculty.[4]

Ethics

Data science raises ethical questions at every step. A 2018 National Academies report lists these concerns:[1]

  • Deciding what data to collect.
  • Getting permission to use data.
  • Crediting data sources properly.
  • Checking that data are accurate.
  • Taking steps to reduce bias.
  • Protecting the privacy of people in the data.
  • Using data correctly and without alteration.

The report recommends weaving ethics through data science teaching from the start. It also calls for the community to adopt a code of ethics.[1]

An example of hidden bias

A model can be accurate and still unfair. A 2019 study found that a widely used health care algorithm, affecting millions of patients, showed significant racial bias: at the same risk score, Black patients were considerably sicker than White patients.[15]

The cause was the choice of target. The algorithm predicted health care costs rather than illness, and unequal access to care means less money is spent on Black patients.[15] Fixing this would raise the share of Black patients getting extra help from 17.7% to 46.5%.[15]

The authors warn about convenient proxies, meaning stand-in measures such as cost standing in for illness. Choosing a proxy that only seems to work can be a source of algorithmic bias in many settings.[15]

Education and careers

The National Academies call the core goal of data science education "data acumen": the ability to make good judgments, use tools responsibly, and make good decisions with data.[1] Their suggested training covers:[1]

  • Mathematical, statistical, and computing foundations
  • Data collection, modeling, management, and curation (organizing and preserving data for later use)
  • Data visualization
  • Workflow and reproducibility
  • Communication and teamwork
  • Subject-area considerations
  • Ethical problem solving

In the United States, data scientists typically need at least a bachelor's degree in mathematics, statistics, computer science, or a related field. Some employers require or prefer a master's or doctoral degree.[2] The Bureau of Labor Statistics reports a median annual wage of $120,230 in May 2025 and about 275,600 jobs in 2025. It projects 35% employment growth from 2025 to 2035, much faster than average.[2]

Data scientists come from many backgrounds. Davenport and Patil noted many trained in computer science, math, or economics, and some in physical or social sciences such as ecology and systems biology.[3]

Open questions

The field's boundaries are still argued over. Conway called the term "data science" a bit of a misnomer and pointed to a lack of agreement on what a curriculum should contain.[5]

Donoho argued that the most important future change is not scaling up but a science about data analysis itself.[4] In his view, data about how analyses are done across science will let researchers predict how changes to analysis workflows affect the validity of results, field by field.[4]

References

  1. Data Science for Undergraduates: Opportunities and Options, National Academies of Sciences, Engineering, and Medicine, 2018.
  2. Data Scientists, Occupational Outlook Handbook, U.S. Bureau of Labor Statistics, 2026.
  3. Data Scientist: The Sexiest Job of the 21st Century, Thomas H. Davenport and DJ Patil, Harvard Business Review, 2012.
  4. 50 Years of Data Science, David Donoho, Journal of Computational and Graphical Statistics, 2017.
  5. The Data Science Venn Diagram, Drew Conway, 2013.
  6. R for Data Science (2e), Introduction, Hadley Wickham, Mine Çetinkaya-Rundel, and Garrett Grolemund, O'Reilly, 2023.
  7. CRISP-DM 1.0: Step-by-step data mining guide, Pete Chapman et al., SPSS, 2000.
  8. The CRISP-DM Model: The New Blueprint for Data Mining, Colin Shearer, Journal of Data Warehousing 5(4), 2000.
  9. pandas: Python Data Analysis Library, pandas development team.
  10. Project Jupyter, Project Jupyter.
  11. Statistical Modeling: The Two Cultures, Leo Breiman, Statistical Science, 2001.
  12. Concise Survey of Computer Methods, Peter Naur, Studentlitteratur, 1974.
  13. A Conversation with Jeff Wu, Hugh Chipman and V. Roshan Joseph, Statistical Science, 2016.
  14. The Fourth Paradigm: Data-Intensive Scientific Discovery, Tony Hey, Stewart Tansley, and Kristin Tolle (eds.), Microsoft Research, 2009.
  15. Dissecting racial bias in an algorithm used to manage the health of populations, Ziad Obermeyer et al., Science, 2019.

Figure