HF RL Explorer

Task: Compare Two Columns in Pandas and Create Conditional Column

Task: Compare Two Columns in Pandas and Create Conditional Column: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that creates a pandas DataFrame and adds a new column based on a conditional comparison between existing columns.

The task

You need to write a Python script that creates a pandas DataFrame and adds a new column based on a conditional comparison between existing columns.

Part of PrimeIntellect/Terminal-Lego-15k.