Task: Select Distinct Values Across Multiple DataFrame Columns in Pandas
Task: Select Distinct Values Across Multiple DataFrame Columns in Pandas: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a Python solution that performs the equivalent of SQL's SELECT DISTINCT col1, col2 FROM table operation on a pandas DataFrame. The goal is to find all…
The task
You need to implement a Python solution that performs the equivalent of SQL's `SELECT DISTINCT col1, col2 FROM table` operation on a pandas DataFrame. The goal is to find all unique combinations of values across multiple columns.
Part of PrimeIntellect/Terminal-Lego-15k.