I couldn't find any answer to this specific case. Say I want to create a scatter plot from the following data:
y = np.array([[1,2,3,6,5,3,4,2],[1,2,4,5,5,3,3,2]])
X = np.array([[86],[82]])
Where all the values of y[0] are the correseponding values of X[0] (86) and so on. I know I can just use numpy repeat function but I thought maybe there's any other more feasilbe option? I've tried to reshape the any of the arrays but it didn't help. Any ideas?