Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 1c12d7c

Browse files
properly handle fill_value where bool(val)==False
1 parent c54f6c0 commit 1c12d7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bigframes/dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3545,7 +3545,7 @@ def pivot_table(
35453545
index=index,
35463546
values=values if len(values) > 1 else None,
35473547
)
3548-
if fill_value:
3548+
if fill_value is not None:
35493549
pivoted = pivoted.fillna(fill_value)
35503550
if sort:
35513551
pivoted = pivoted.sort_index()

0 commit comments

Comments
 (0)