HF RL Explorer

Task: Convert 2D List to 2D NumPy Array

Task: Convert 2D List to 2D NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). You need to create a Python script that demonstrates how to convert a 2D Python list to a 2D NumPy array efficiently, without manually pre-allocating memory using functions like numpy.zeros() .

The task

You need to create a Python script that demonstrates how to convert a 2D Python list to a 2D NumPy array efficiently, without manually pre-allocating memory using functions like `numpy.zeros()`.

Part of PrimeIntellect/Terminal-Lego-15k.