Sort utils.cid_hash() entries for legibility
This commit is contained in:
committed by
=Michael Hohn
parent
8f151ab002
commit
06dcf50728
@@ -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)
|
#** Add single uniqueness field -- CID (Cumulative ID)
|
||||||
full_df['CID'] = full_df.apply(lambda row:
|
full_df['CID'] = full_df.apply(lambda row:
|
||||||
utils.cid_hash( (row['creationTime'],
|
utils.cid_hash((
|
||||||
row['sha'],
|
|
||||||
row['cliVersion'],
|
row['cliVersion'],
|
||||||
row['language'])
|
row['creationTime'],
|
||||||
), axis=1)
|
row['language'],
|
||||||
|
row['sha'],
|
||||||
|
)), axis=1)
|
||||||
|
|
||||||
#** Re-order the dataframe columns by importance
|
#** Re-order the dataframe columns by importance
|
||||||
# - Much of the data
|
# - Much of the data
|
||||||
|
|||||||
Reference in New Issue
Block a user