How to resolve this warning

Hi,
Wondering what change should we make to stop seeing this future warning?
FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; usearr[tuple(seq)]instead ofarr[seq]. In the future this will be interpreted as an array index,arr[np.array(seq)], which will result either in an error or a different result.

2 Likes