Skip to content

Commit

Permalink
Fixes query 15 column renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Jarrett committed Mar 15, 2021
1 parent f97a7cf commit 3faf6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpu_bdb/queries/q15/gpu_bdb_query_15.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def main(client, config):
regression_groups = agg_df.groupby(["cat"]).agg(
{"x": ["count", "sum"], "xx": ["sum"], "xy": ["sum"], "y": ["count", "sum"]}
)
regression_groups = regression_groups.rename(
columns={
regression_groups.columns = regression_groups.columns.map(
{
("x", "count"): "count_x",
("x", "sum"): "sum_x",
("xx", "sum"): "sum_xx",
Expand Down

0 comments on commit 3faf6d3

Please sign in to comment.