Data Science with Python Certification Practice Test

Data Science with Python Data Cleaning and Preparation Questions and Answers

Free · Instant Results

You are cleaning a dataset of customer information in a pandas DataFrame named 'df'. The 'phone_number' column contains numbers in various formats (e.g., '(123) 456-7890', '123.456.7890', '1234567890'). Which of the following is the most effective approach to standardize all phone numbers to the format '1234567890'?
▶ Start Practice Test