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

View File

@@ -94,8 +94,8 @@ class LookaheadAnalysis(BaseAnalysis):
# compare_df now comprises tuples with [1] having either 'self' or 'other'
if 'other' in col_name[1]:
continue
self_value = compare_df_row[col_idx]
other_value = compare_df_row[col_idx + 1]
self_value = compare_df_row.iloc[col_idx]
other_value = compare_df_row.iloc[col_idx + 1]
# output differences
if self_value != other_value: