Continued Colorization, pushed it to utils and colorized other helper scripts
This commit is contained in:
@@ -16,6 +16,7 @@ import pandas as pd
|
||||
import requests
|
||||
import os
|
||||
import json
|
||||
import utils.colortext as ct
|
||||
|
||||
|
||||
def aggregateHashes(executions_json) -> pd.DataFrame:
|
||||
@@ -27,7 +28,7 @@ def aggregateHashes(executions_json) -> pd.DataFrame:
|
||||
|
||||
if df.empty:
|
||||
return df
|
||||
print(df)
|
||||
print(color_text(df,"green"))
|
||||
# Aggregate by sha256, deduplicate lists, and preserve order
|
||||
agg_df = df.groupby("sha256").agg(lambda x: list(dict.fromkeys(x))).reset_index()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user