HF RL Explorer

Task: Drop Rows with All Zeros in Pandas DataFrame

Task: Drop Rows with All Zeros in Pandas DataFrame: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that removes rows from a pandas DataFrame where all column values are zero. This is similar to pandas' dropna() functionality, but instead of removing rows with NA…

The task

You need to write a Python script that removes rows from a pandas DataFrame where all column values are zero. This is similar to pandas' `dropna()` functionality, but instead of removing rows with NA values, you need to remove rows where all values are 0.

Part of PrimeIntellect/Terminal-Lego-15k.