This answer https://stackoverflow.com/a/1582742/13326667 has details on cloning row using numpy.tile.
>>> tile(array([1,2,3]), (3, 1))
array([[1, 2, 3],
[1, 2, 3],
[1, 2, 3]])
What is the purpose of (3,1)
here? Can someone explain what the 3
means and the 1
means?