Hello Ivan!
Thanks for your quick reply. To be more clear I am
doing some kind of a slice function where a user can
select different fields and one row or vise verse from
arbitrary number of tables. Since each field can have
different types I want to gather the data in a table
form. I thought of d
dragan savic (el 2007-11-12 a les 08:36:25 -0800) va dir::
> I have a question regarding numpy arrays.
> Lets say I have two arrays:
>
> a = array([1,2,3],dtype=float32)
> b = array([4,5,6],dtype=int16)
>
> I want to build a new array like this:
> new_array = hstack((row_stack(a),row_stack(b)))
Hello!
I have a question regarding numpy arrays.
Lets say I have two arrays:
a = array([1,2,3],dtype=float32)
b = array([4,5,6],dtype=int16)
I want to build a new array like this:
new_array = hstack((row_stack(a),row_stack(b)))
The result is:
array([[ 1., 4.],
[ 2., 5.],
[ 3.,