I have an array of a = np.array([[1,2],[3,4]]) I am looking for a way to repeat each element for a certain times (lets say 3 times) to get the following array
a = np.array([[1,2],[3,4]])