[ad_1]
In this case it creates the tuple (ti, tj) and passes it to dense.__getitem__(). As to what that accomplishes, you will need to see the documentation and/or source for dense‘s type.
[ad_2]
solved What’s the Pythonic way to initialize an array?