HF RL Explorer

Task: Convert Python List to NumPy Array to Access Shape Attribute

Task: Convert Python List to NumPy Array to Access Shape Attribute: a task in Terminal-Lego-15k (Harbor dataset). You are given a Python script that attempts to access the .shape attribute on a nested Python list, which causes an AttributeError because regular Python lists don't have a shape…

The task

You are given a Python script that attempts to access the `.shape` attribute on a nested Python list, which causes an `AttributeError` because regular Python lists don't have a `shape` attribute - only NumPy arrays do.

Part of PrimeIntellect/Terminal-Lego-15k.