HF RL Explorer

Task: Numpy "where" with Multiple Conditions for Energy Classification

Task: Numpy "where" with Multiple Conditions for Energy Classification: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python script that adds a new column "energy class" to a pandas DataFrame based on the "consumption energy" values using numpy's conditional functions.

The task

You need to create a Python script that adds a new column "energy_class" to a pandas DataFrame based on the "consumption_energy" values using numpy's conditional functions.

Part of PrimeIntellect/Terminal-Lego-15k.