Mercado Tech Brasil

Data scientist: what they do, what they need to know and how to start

Published on · Career & Leadership · by William Garcia

Rubik’s cube in front of a screen with code
Photo: Tahmid ul Karim · WordPress Photo Directory (CC0, public domain)

Every company produces data all the time: sales, customer service calls, clicks, inventory, sensors and spreadsheets scattered across departments. The data scientist is the professional who turns that volume into useful answers for the business: forecasting demand, understanding why customers churn, detecting fraud, deciding where to invest. In 2012, a Harvard Business Review article by Thomas Davenport and D. J. Patil called the role "the sexiest job of the 21st century." The nickname stuck, but behind it is very concrete work that blends the scientific method, programming and a lot of conversation with business teams. In this article I explain what a data scientist does, what they need to know and how to take the first steps in the career.

What a data scientist does day to day

The work starts well before any model. A typical project goes through stages like these:

  • Understanding the business question and what changes if it gets answered;
  • Finding, gathering and assessing the quality of the available data;
  • Cleaning, joining and preparing the datasets, which is usually the most time-consuming part;
  • Exploring the data, forming hypotheses and testing them with statistical rigor;
  • Building, validating and comparing forecasting or classification models;
  • Communicating the result in a way that lets leadership make a decision;
  • Monitoring the model in production, because data changes and performance degrades over time.

Data science is, at its core, a meeting point: the scientific method, statistics, computing, data technology, visualization and consulting applied to real-world problems. Nobody masters all of it at the same level, which is why the work almost always happens in teams.

AI, machine learning and deep learning: how they fit together

The three terms are often used interchangeably, but they form layers, one inside the other:

  • Artificial intelligence is the broadest concept: any system that makes a machine act in a way that seems intelligent, from fixed rules written by people to programs capable of holding a convincing conversation;
  • Machine learning is a subset of AI in which the system learns patterns from historical data instead of following rules programmed one by one;
  • Deep learning is a subset of machine learning that uses neural networks with many layers; it works very well with unstructured data such as images, audio and text, and it is the foundation of generative AI.

The evolution went from logical rules to probabilistic models that improve with each iteration, and then to increasingly complex representations of data. A data scientist moves across all these layers, but most business problems are still solved with classic machine learning techniques and good statistics.

What a data scientist needs to know

The skills fall into four areas, and all of them matter.

Math and statistics

This is what keeps you from drawing the wrong conclusions from data. It includes statistical modeling, experimental design (such as A/B tests), inference, including Bayesian inference, and the fundamentals of optimization, such as gradient descent. You also need to know the families of algorithms:

  • Supervised learning, when there is a known answer to learn from: logistic regression, decision trees, random forest;
  • Unsupervised learning, when you are looking for structure in the data: clustering and dimensionality reduction.

Programming and databases

Python is the industry standard, and R remains strong in statistics. SQL is a must: much of the work is querying and joining tables, and understanding relational algebra helps you write efficient queries. It is worth knowing NoSQL databases, the basics of parallel and distributed processing (the MapReduce model, the Hadoop and Hive ecosystem, Spark) and at least one public cloud, such as AWS, Azure or Google Cloud.

Business and soft skills

A technically perfect model that solves the wrong problem is worth nothing. A data scientist needs to understand how the company generates revenue, have genuine curiosity, enjoy solving problems, collaborate with other teams and know how to influence people over whom they have no formal authority.

Communication and visualization

A result only creates value when it turns into a decision. That requires telling a story with data, adapting the language for senior management and choosing the right chart for each message. Common tools here are Tableau, ggplot2 (in R) and D3.js (for web visualizations).

Tools for each stage of the work

You don't need to master everything at once, but it helps to know where each tool fits:

  • Store: relational databases such as PostgreSQL and MySQL, document databases such as MongoDB and graph databases such as Neo4j;
  • Transform: SQL, Python and Spark to clean and prepare large volumes;
  • Model: pandas, SciPy, scikit-learn and, at scale, Spark MLlib;
  • Visualize: ggplot2, D3.js and BI tools such as Tableau;
  • Move and orchestrate: Kafka and RabbitMQ for queues and event streams, Redis for caching and Luigi to chain tasks together.

How to start a career as a data scientist

A realistic path, with no miracle shortcuts:

  • Start with SQL and Python, which you will use every day;
  • Study descriptive and inferential statistics in parallel, always with practical examples;
  • Learn pandas and scikit-learn by solving problems with public datasets;
  • Build a portfolio with two or three end-to-end projects, from the question to the final chart, and publish the code;
  • Pick a business domain you already know (finance, retail, healthcare, manufacturing) to stand out;
  • Practice communication: explain each project in a few minutes to someone outside the field.

Many people come to data science from another role: analyst, engineer, economist, researcher. Business experience counts in your favor, not against you.

Frequently asked questions

Do I need a STEM degree to become a data scientist?

It is not mandatory, but it helps. Degrees such as statistics, mathematics, engineering and computer science provide a solid foundation. People coming from other fields can make up for it with focused study of statistics and programming and with a portfolio that shows it in practice.

How long does it take to start working in the field?

It depends on your starting point and dedication. People who already code or already work with analysis tend to progress faster. Instead of aiming for a date, aim for milestones: mastering SQL, finishing your first end-to-end project, publishing your portfolio.

What is the difference between a data scientist, a data analyst and a data engineer?

A data analyst answers questions about what happened, with reports, metrics and dashboards. A data engineer builds and maintains the infrastructure: pipelines, databases and integrations that make data arrive clean and on time. A data scientist uses statistics and machine learning to predict, classify and recommend. In practice, the boundaries vary from company to company.

Will generative AI replace the data scientist?

AI tools already speed up tasks such as writing code and exploring data, but they don't decide which question is worth answering, nor do they guarantee that the conclusion makes sense for the business. Those who combine technique with judgment tend to gain productivity, not lose ground.

Data only creates value when it becomes process

In my process automation consulting practice, I often see companies invest in sophisticated analyses before they have reliable data and organized processes. The result is usually a beautiful model that nobody uses. The shortest path almost always starts with automating data collection and integration, standardizing processes and only then applying models on top of a solid foundation. Whether you are a professional in training or a manager thinking about building a data team, that order makes all the difference.

Translated from the original in Portuguese. Read the original.