Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion bigframes/core/compile/aggregate_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def _(
result = _is_true(column).any()
return cast(
ibis_types.BooleanScalar,
_apply_window_if_present(result, window).fillna(ibis_types.literal(True)),
_apply_window_if_present(result, window).fillna(ibis_types.literal(False)),
)


Expand Down
4 changes: 4 additions & 0 deletions tests/system/small/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ def test_index_has_duplicates(scalars_df_index, scalars_pandas_df_index):
assert bf_result == pd_result


def test_index_empty_has_duplicates():
assert not bpd.Index([]).has_duplicates


def test_index_values(scalars_df_index, scalars_pandas_df_index):
bf_result = scalars_df_index.index.values
pd_result = scalars_pandas_df_index.index.values
Expand Down