Task: Remove Pandas Rows with Duplicate Indices
Task: Remove Pandas Rows with Duplicate Indices: a task in Terminal-Lego-15k (Harbor dataset). You are working with automated weather data that contains duplicate index entries. When scientists correct observations, they append corrected rows to the end of the file rather than editing the original…
The task
You are working with automated weather data that contains duplicate index entries. When scientists correct observations, they append corrected rows to the end of the file rather than editing the original erroneous rows. Your task is to write a Python script that removes rows with duplicate index values, keeping only…
Part of PrimeIntellect/Terminal-Lego-15k.