Skip to content

Commit

Permalink
fix sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelsoup42 committed Sep 11, 2023
1 parent d1d28a4 commit 50486e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,5 +452,5 @@ def make_transaction_frame(self) -> pd.DataFrame:
)
frame = frame.merge(balance, left_index=True, right_index=True)
frame.drop_duplicates(inplace=True)
frame.sort_values(by=frame.columns[1], inplace=True)
frame.sort_values(by=frame.columns[0], inplace=True)
return frame

0 comments on commit 50486e1

Please sign in to comment.