Re: [Tutor] Pyuthon 3 Combine 1 D Arrays

2017-05-18 Thread Stephen P. Molnar
On 05/17/2017 06:15 PM, Luis JM Amoreira wrote: Hi, If your arrays have shape (300,1) (single column, 300 rows right?) then M = numpy.hstack((array1, array2)) is an array with shape (300, 2) (300 rows, 2 columns) and M.T is 2 by 300 [shape (2, 300)]. Take an example: In [11]: import numpy as np

Re: [Tutor] Pyuthon 3 Combine 1 D Arrays

2017-05-17 Thread Alan Gauld via Tutor
On 17/05/17 20:50, Stephen P. Molnar wrote: > I'm beginning to think that I don't know how to ask the question as > Google and Stack Overflow have resulted in nothing. All of the results > seem to deal with integers. Have you tried asking on the scipy forum? https://www.scipy.org/scipylib/mail

[Tutor] Pyuthon 3 Combine 1 D Arrays

2017-05-17 Thread Stephen P. Molnar
I'm beginning to think that I don't know how to ask the question as Google and Stack Overflow have resulted in nothing. All of the results seem to deal with integers. I have a number of single column floating point arrays each containing 300 entries that I want to combine into a n by 300 arra