Skip to content

Commit 4a5604f

Browse files
committed
FIX: use of pandas set_index
Since version 2.0 they changed the interface of `df.set_index`. pandas-dev/pandas#41495
1 parent be6c9be commit 4a5604f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/07-merge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
os.chdir(target_folder)
1313

1414
df_patterns = pd.read_csv('./target/04/04-find-patterns.csv', sep=';')
15-
df_patterns.set_index('filepath', 'class_name', 'component_index').to_csv('./target/dataset.csv')
15+
df_patterns.set_index(['filepath', 'class_name', 'component_index']).to_csv('./target/dataset.csv')

0 commit comments

Comments
 (0)