AI Practitioner

Case File: Same Customer, Six Times

Orders arrive by WhatsApp and staff type them in, so the same customer appears many times with the phone number written in different ways and the name in capitals or with extra spaces. Before an assistant writes dear-customer messages or counts customers, the list must be cleaned. Make a key from the digits of the phone (13 digits starting 234 become 0 and the rest, 10 digits get a 0 in front, 11 digits starting with 0 stay, anything else is invalid), group the orders by key, report the customers, the duplicate orders, the groups where the names differ and the invalid orders. Run it on lists that you cannot see. The orders are generated for you alone.

50 min

Case File: Same Customer, Six Times

Orders arrive by WhatsApp and staff type them in, so the same customer appears many times with the phone number written in different ways and the name in capitals or with extra spaces. Before an assistant writes dear-customer messages or counts customers, the list must be cleaned. Make a key from the digits of the phone (13 digits starting 234 become 0 and the rest, 10 digits get a 0 in front, 11 digits starting with 0 stay, anything else is invalid), group the orders by key, report the customers, the duplicate orders, the groups where the names differ and the invalid orders. Run it on lists that you cannot see. The orders are generated for you alone.

In this lesson:

  • ai
  • data cleaning
  • duplicates
  • phone numbers
  • case-file
  • python

๐Ÿ”’ This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans