Templates and python path question

I’m trying to figure out the path syntax for a python script and I was hoping that someone here might be able to assist. I have two power tables. Table1 checks all of values in column one against all of the values in column one of Table2 and looks for matches. I’ve got all of that working.

What I’d like to do is put each of those power tables into their own templates so I can have multiple instances of Table1 checking their respective column 1 values against a single instance of Table2.

I’m not sure how to write the path syntax so that the Table1 template can do the compare. If they were just tables in a window, it would be

Data1 = event.source.parent.getComponent(“Table1”).data

for each table to get their respective contents loaded. What would the path look like for a component in one template to reference another component in another template?