Hey. As long as your data points are correctly tagged it should be fine, e.g.
id ds y
0 1 1.5
0 2 3.2
1 1 72.1
1 2 29.3
is the expected format. It doesn't matter if you have repeated ds as long as they're not repeated for the same id.
If you're using pandas you might find the
melt method easier to convert to long format