Skip to content

perf: Cache transpose to allow performant retranspose #635

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix label on df aggregate
  • Loading branch information
TrevorBergeron committed Apr 23, 2024
commit 1a340789a70216b909af0fa07a534cb29e98b1d9
4 changes: 2 additions & 2 deletions bigframes/core/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def multi_apply_unary_op(
input_varname = input_varnames[0]

block = self
for i, col_id in enumerate(columns):
for col_id in columns:
label = self.col_id_to_label[col_id]
block, result_id = block.project_expr(
expr.bind_all_variables({input_varname: ex.free_var(col_id)}),
Expand Down Expand Up @@ -960,7 +960,7 @@ def aggregate_all_and_stack(
result_expr,
index_columns=[index_id],
column_labels=self.column_labels,
index_labels=self.column_labels.names,
index_labels=[None],
).transpose(original_row_index=pd.Index([None]))
else: # axis_n == 1
# using offsets as identity to group on.
Expand Down