From 50486e14e37cbdb4c046a687cde9d99a359e2cef Mon Sep 17 00:00:00 2001 From: pixelsoup42 Date: Mon, 11 Sep 2023 16:59:39 +0200 Subject: [PATCH] fix sorting --- .../cardano_account_pandas_dumper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py b/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py index 84f8482..0dcd57e 100644 --- a/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py +++ b/src/cardano_account_pandas_dumper/cardano_account_pandas_dumper.py @@ -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