Skip to content

Commit

Permalink
Merge pull request #193 from ChrisJar/q15fix
Browse files Browse the repository at this point in the history
Fixes query 15 column renaming
  • Loading branch information
beckernick authored Mar 15, 2021
2 parents f97a7cf + 3faf6d3 commit 8541f28
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 8541f28

Please sign in to comment.