Loading...

Transform Column

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy

Problem

A feature engineering step applies a squaring transformation to a numeric column. Return a new list where each element is the square of the corresponding input value.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.