HF RL Explorer

Task: Merge Two DataFrames by Index in Pandas

Task: Merge Two DataFrames by Index in Pandas: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that merges two pandas DataFrames based on their index values. This is a common data manipulation task where you have two DataFrames with matching indices but no common…

The task

You need to write a Python script that merges two pandas DataFrames based on their index values. This is a common data manipulation task where you have two DataFrames with matching indices but no common columns, and you want to combine them horizontally.

Part of PrimeIntellect/Terminal-Lego-15k.