HF RL Explorer

Task: Find DataFrame Column Names Containing a Specific String

Task: Find DataFrame Column Names Containing a Specific String: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that finds column names in a pandas DataFrame that contain a specific substring. The substring to search for is 'spike' , and it should match column names…

The task

You need to write a Python script that finds column names in a pandas DataFrame that contain a specific substring. The substring to search for is `'spike'`, and it should match column names like `'spike-2'`, `'hey spike'`, `'spiked-in'` (where the `'spike'` part is always continuous, but doesn't have to be an exact…

Part of PrimeIntellect/Terminal-Lego-15k.