From 06dcf50728e713fc5e03009add0f7c857fb299fd Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Wed, 31 Jul 2024 15:20:43 -0700 Subject: [PATCH] Sort utils.cid_hash() entries for legibility --- client/qldbtools/bin/mc-db-refine-info | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/client/qldbtools/bin/mc-db-refine-info b/client/qldbtools/bin/mc-db-refine-info index 39b000e..d5222fd 100755 --- a/client/qldbtools/bin/mc-db-refine-info +++ b/client/qldbtools/bin/mc-db-refine-info @@ -45,11 +45,12 @@ full_df = pd.merge(d, joiners_df, left_index=True, right_on='left_index', how='o #** Add single uniqueness field -- CID (Cumulative ID) full_df['CID'] = full_df.apply(lambda row: - utils.cid_hash( (row['creationTime'], - row['sha'], - row['cliVersion'], - row['language']) - ), axis=1) + utils.cid_hash(( + row['cliVersion'], + row['creationTime'], + row['language'], + row['sha'], + )), axis=1) #** Re-order the dataframe columns by importance # - Much of the data