I am trying to compare different lines, to know if one is above the other one, and if not, at which x this change happens. If I had the same x values and same length, that would be very easy and only difference in ys of the lines. But I have different x values for […]

- Tags -11, "2":70, [132, 10, 101, 11]) y2 = np.array([200, 110, 12]) y1 = np.array([100, 130, 180, 190, 192]) #curve 2: shape: 9 x2 = np.array([3, 210, 211, 250, 260, 261, 265, 275]) They are supposed to be 2 regression lines. In this simple example, 4, 5, 6, 7, 8, 9, and if not, and the vectors do not have the same length, and this comparison needs to be done many times, at which x this change happens. If I had the same x values and same length, but x intervals are the same for all curves. As a very simple example I use the following data: #curve 1: shape: 8 x1 = np.array([5, I am trying to compare different lines, so I need to find a solution that does not take much time., that would be very easy and only difference in ys of the lines. But I have different x values for different lines, the result is supposed to be that Curve 2 has higher values than curve 1 in all x range. I was trying to bin x in the range of 2.5-12.5 with, to know if one is above the other one