On May 25, 2015 4:05 AM, "Andrew Nelson" wrote:
>
> I have a function that operates over a 1D array, to return an array of a
similar size. To use it in a 2D fashion I would have to do something like
the following:
>
> for row in range(np.size(arr, 0):
> arr_out[row] = func(arr[row])
> for col
On Mo, 2015-05-25 at 21:02 +1000, Andrew Nelson wrote:
> I have a function that operates over a 1D array, to return an array of
> a similar size. To use it in a 2D fashion I would have to do
> something like the following:
>
>
> for row in range(np.size(arr, 0):
> arr_out[row] = func(arr[row
On 24 May 2015 at 22:30, Sturla Molden wrote:
> Personally I think we should only make guarantees about the data types,
> array shapes, and things like that, but not about the values. Those who
> need a particular version of NumPy for exact reproducibility should
> install the version of Python a
I have a function that operates over a 1D array, to return an array of a
similar size. To use it in a 2D fashion I would have to do something like
the following:
for row in range(np.size(arr, 0):
arr_out[row] = func(arr[row])
for col in range(np.size(arr, 1):
arr_out[:, col] = func(arr[:,