Skip to content

Commit 9616d4e

Browse files
Use keyword arguments for pd.Dataframe().rename_axis()
1 parent 0930144 commit 9616d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/changesummary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _get_discovery_differences(self, filename):
123123
combined_docs = (
124124
pd.concat([current_doc, new_doc], keys=["CurrentValue", "NewValue"])
125125
.transpose()
126-
.rename_axis("Key")
126+
.rename_axis(index="Key")
127127
.reset_index()
128128
)
129129

0 commit comments

Comments
 (0)