Skip to content

Commit

Permalink
Removed to record set operation
Browse files Browse the repository at this point in the history
  • Loading branch information
oislen committed Oct 10, 2024
1 parent 9074224 commit b009351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/PreProcessData/gen_preaggregate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def gen_preaggregate_data(
logging.info(f"{stat} ...")
agg_dict = {col: stat for col in cons.col_options}
tmp_agg_data = agg_data.groupby(group_cols, as_index=False).agg(agg_dict)
pre_agg_data_dict[stat] = tmp_agg_data.to_dict(orient='records')
pre_agg_data_dict[stat] = tmp_agg_data
# if the output
if preaggregate_data_fpath != None:
if os.path.exists(preaggregate_data_fpath):
Expand Down

0 comments on commit b009351

Please sign in to comment.