Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Prepare Product Names for Analysis | String Manipulation and Cleaning
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Working with Text, Dates, and Data Cleaning in R

bookChallenge: Prepare Product Names for Analysis

Tâche

Swipe to start coding

Prepare a list of product names for analysis by cleaning and standardizing each name. This simulates a common data cleaning step before generating a sales report.

  • Remove any leading or trailing whitespace from each product name.
  • Convert all product names to lower case.
  • Remove all characters from each product name except for letters, numbers, and spaces.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 6
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: Prepare Product Names for Analysis

Glissez pour afficher le menu

Tâche

Swipe to start coding

Prepare a list of product names for analysis by cleaning and standardizing each name. This simulates a common data cleaning step before generating a sales report.

  • Remove any leading or trailing whitespace from each product name.
  • Convert all product names to lower case.
  • Remove all characters from each product name except for letters, numbers, and spaces.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 6
single

single

some-alt