TypeError "float' object can not be interpreted as an index

Hi, help please!Where is the mistake?

i have ever met the problem, and i install SNAP5.0 on another computer,and it succeeded,so maybe you could change a computer and have a try!!!