Skip to content

Commit a30a5cd

Browse files
committed
fix(doc): suppress BigQuery logs in sim_join doctest
1 parent ed4be31 commit a30a5cd

File tree

1 file changed

+3
-3
lines changed
  • bigframes/operations

1 file changed

+3
-3
lines changed

bigframes/operations/ai.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,11 @@ def sim_join(
612612
>>> df1 = bpd.DataFrame({'animal': ['monkey', 'spider']})
613613
>>> df2 = bpd.DataFrame({'animal': ['scorpion', 'baboon']})
614614
615-
>>> print("START_OF_OUTPUT"); df1.ai.sim_join(df2, left_on='animal', right_on='animal', model=model, top_k=1) # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE
616-
START_OF_OUTPUT
615+
>>> res = df1.ai.sim_join(df2, left_on='animal', right_on='animal', model=model, top_k=1)
616+
>>> print("---"); print(res) # doctest: +ELLIPSIS
617+
---
617618
...
618619
animal animal_1
619-
...
620620
0 monkey baboon
621621
1 spider scorpion
622622
<BLANKLINE>

0 commit comments

Comments
 (0)