1

I wonder what is the meaning of .T in the function np.vstack(array1, array2, array3).T?

Karl Knechtel
  • 62,466
  • 11
  • 102
  • 153
гиви
  • 79
  • 7
  • That `T` is outside it seems. This means vstack the arrays and then transpose the result. – NNN Mar 04 '21 at 09:38

2 Answers2

1

ndarray.T: The transposed array.

xkudsraw
  • 149
  • 12
-3

.T implies transpose of the stacked arrays.

  • 2
    Please be sure to check other existing answers to avoid giving the exact same answer again. – ouflak Jan 20 '22 at 10:44