HF RL Explorer

Task: Transposing a 1D NumPy Array

Task: Transposing a 1D NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). In NumPy, calling .T (transpose) on a 1D array does not change its shape because a 1D array has only one dimension. To properly transpose a 1D array into a column vector, you need to first convert it into a 2D array.

The task

In NumPy, calling `.T` (transpose) on a 1D array does not change its shape because a 1D array has only one dimension. To properly transpose a 1D array into a column vector, you need to first convert it into a 2D array.

Part of PrimeIntellect/Terminal-Lego-15k.