Skip to content

Commit 0977bfc

Browse files
committed
use compression for user stats
1 parent d8c9287 commit 0977bfc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mapswipe_workers/mapswipe_workers/generate_stats/project_stats.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,9 @@ def get_per_project_statistics(project_id: str, project_info: pd.Series) -> dict
378378
results_df, agg_results_df
379379
)
380380
agg_results_by_user_id_df.to_csv(
381-
agg_results_by_user_id_filename, index_label="idx"
381+
agg_results_by_user_id_filename,
382+
index_label="idx",
383+
compression="gzip"
382384
)
383385
logger.info(
384386
f"saved agg results for {project_id}: {agg_results_by_user_id_filename}"

0 commit comments

Comments
 (0)