0

I forgot where I got this line of code to generate an array with tile()function, it works as I wanted, with an one column 2D array of the same number of rows in Original2DArray generated, but I don't understand what "[None].T" is doing, and can't find any resources on web explaining the syntax.Thanks in advance for your help.

myArray = np.tile("0.4", Original2DArray.shape[0])[None].T
sunyaer
  • 61
  • 1
  • 8

0 Answers0