Help with loops

  1. I am trying to make 2 loops with index i and j using the Discrete Correlation function you start off with one point, X1, at time t1, in the X-timeseries and you first pair it up with Y1, measuring the time diff, tau_11 between them, series about and the Y1 point could have any time. Next you pair X1 with Y2, etc. When finished with X1 you move on to X2 and repeat the process, starting again at Y1. my data is from csv file i have 2 data sets with time series:

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).