1. Lära sig
  2. /
  3. Courses
  4. /
  5. Data Transformation with Polars

Connected

exercise

Concatenating text columns

With the whitespace cleaned up, you realize that some products have the same detail but come in different sizes. To uniquely identify each product variant, you need to combine the detail and size columns into a single identifier.

Instruktioner

100 XP
  • Concatenate the detail and size columns with a colon separator and name the new column detail_size.