HF RL Explorer

Task: Fix Pandas Apply Function with Multiple Columns

Task: Fix Pandas Apply Function with Multiple Columns: a task in Terminal-Lego-15k (Harbor dataset). You need to fix common errors when using Pandas apply function to reference multiple columns in a DataFrame. The original code has syntax issues that cause NameError when trying to apply a function…

The task

You need to fix common errors when using Pandas `apply` function to reference multiple columns in a DataFrame. The original code has syntax issues that cause `NameError` when trying to apply a function across DataFrame rows.

Part of PrimeIntellect/Terminal-Lego-15k.