Task: Create a View onto a NumPy Array
Task: Create a View onto a NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). Your task is to demonstrate how to create a view onto a NumPy array that includes only the first k rows and all columns, without copying the underlying data.
The task
Your task is to demonstrate how to create a view onto a NumPy array that includes only the first `k` rows and all columns, without copying the underlying data.
Part of PrimeIntellect/Terminal-Lego-15k.