Section 1. Chapter 14
single
Challenge: String Manipulation for Data Cleaning
Swipe to show menu
Task
Swipe to start coding
Clean dataset values using string manipulation techniques. The goal is to standardize the text by applying several transformations.
- Convert all characters in the specified column to lowercase.
- Remove leading and trailing whitespace from the values in the specified column.
- Replace all occurrences of a specific character with another character in the specified column.
Solution
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 14
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat