Skip to content

fix: fix bug with na in the column labels in stack #659

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 6 commits into from
May 6, 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
use python None instead
  • Loading branch information
milkshakeiii committed May 6, 2024
commit 87cd61880d43bc36911f17a85ef257510c319cdd
3 changes: 1 addition & 2 deletions bigframes/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,8 @@ def _create_unpivot_labels_array(
row_label = former_column_labels[row_offset]
row_label = (row_label,) if not isinstance(row_label, tuple) else row_label
row = {
col_ids[i]: row_label[i]
col_ids[i]: row_label[i] if pandas.notnull(row_label[i]) else None
for i in range(len(col_ids))
if pandas.notnull(row_label[i])
}
rows.append(row)

Expand Down