Skip to content

CMA Intermediate · Financial Management and Business Data Analytics · Introduction to Data Science for Business Decision-making

A retail chain's sales dataset has a 'Store_Region' column in which the same region appears as 'North', 'north' and 'NORTH '. Before running a regional summary, which data preparation step most directly fixes this problem?

Standardising the text values is the correct step. The region appears under several spellings because of case and spacing differences, so cleaning them into one consistent label ensures that grouping and summaries count all records of a region together instead of splitting them.

  1. AStandardising the text values so each region has one consistent labelCorrect
  2. BRemoving the Store_Region column from the dataset
  3. CNormalising the sales column to a 0-1 scale
  4. DReplacing the region labels with random numbers

Explanation

The problem is inconsistent categorical labels (case and trailing spaces). Standardising text creates a single label per region so grouping works correctly. Scaling sales does not affect labels, and dropping the column would lose the information needed.

Did you get it right without looking?

One question tells you little. A timed set on Introduction to Data Science for Business Decision-making shows your real accuracy, how long you take and where you lose marks.

More Introduction to Data Science for Business Decision-making questions