Data Analysis

noun

say it: “DAY-tuh uh-NAL-ih-sis” /ˈdeɪtə əˈnæləsɪs/

Looking at data, often a table of numbers, to answer questions, such as which product sold best or when sales drop.

What is data analysis?

Data analysis is answering questions with data: reading a table, tidying it, then totaling, comparing and charting it until the numbers answer the question. In Python it's usually done with pandas.

import pandas as pd
sales = pd.read_csv("coffee_sales.csv")
totals = sales.groupby("store")["cups"].sum()
print(totals.sort_values(ascending=False).head(1))   # the store that sold the most

In a sentence

  • “Her first data analysis project found which bus route runs latest.”
  • “A little data analysis showed the café sells twice as much on rainy days.”

Level: Apprentice · More Python terms at this level

Updated