Task: Understanding NumPy Array Reference Behavior
Task: Understanding NumPy Array Reference Behavior: a task in Terminal-Lego-15k (Harbor dataset). NumPy arrays in Python have specific behavior when passed to functions. This task explores the difference between assignment operations ( arr = arr - 3 ) and in-place operations ( arr -= 3 ) when…
The task
NumPy arrays in Python have specific behavior when passed to functions. This task explores the difference between assignment operations (`arr = arr - 3`) and in-place operations (`arr -= 3`) when working with NumPy arrays inside functions.
Part of PrimeIntellect/Terminal-Lego-15k.