Skip to content

CMA Intermediate · Financial Management and Business Data Analytics · Data Analysis and Modelling

A Mumbai retail chain's customer file has the 'City' column entered as 'Pune', 'pune', 'PUNE ' and 'Pun e'. Before running a regional sales analysis, which data-cleaning step is most directly needed?

Standardising the text values into one consistent category is needed, because variants of the same city name would otherwise be counted as separate groups in a regional analysis. Trimming spaces, fixing case and correcting spelling gives one label per city without losing information.

  1. AStandardising the text values into one consistent categoryCorrect
  2. BDeleting the City column entirely
  3. CConverting the column into a numeric average
  4. DRandomly sampling half the rows

Explanation

The same city appears in several spellings, cases and spacing variants, so grouping would treat them as different categories. Standardising (trim spaces, fix case, correct spelling) fixes this. Deleting the column loses needed information, and a numeric average is meaningless for text.

Did you get it right without looking?

One question tells you little. A timed set on Data Analysis and Modelling shows your real accuracy, how long you take and where you lose marks.

More Data Analysis and Modelling questions