Use proper indexing to avoid deprecation warnings

This commit is contained in:
Matthias
2023-10-30 18:26:25 +01:00
parent b19f17fdfa
commit 9297a90d7f
+2 -2
View File
@@ -94,8 +94,8 @@ class LookaheadAnalysis(BaseAnalysis):
# compare_df now comprises tuples with [1] having either 'self' or 'other' # compare_df now comprises tuples with [1] having either 'self' or 'other'
if 'other' in col_name[1]: if 'other' in col_name[1]:
continue continue
self_value = compare_df_row[col_idx] self_value = compare_df_row.iloc[col_idx]
other_value = compare_df_row[col_idx + 1] other_value = compare_df_row.iloc[col_idx + 1]
# output differences # output differences
if self_value != other_value: if self_value != other_value: