HF RL Explorer

Task: Implement Performant Cartesian Product (CROSS JOIN) with Pandas

Task: Implement Performant Cartesian Product (CROSS JOIN) with Pandas: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a performant method for computing the cartesian product (also known as CROSS JOIN) of two pandas DataFrames. The cartesian product combines every row from the…

The task

You need to implement a performant method for computing the cartesian product (also known as CROSS JOIN) of two pandas DataFrames. The cartesian product combines every row from the first DataFrame with every row from the second DataFrame.

Part of PrimeIntellect/Terminal-Lego-15k.