Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 7, 2026. It is now read-only.
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
7 changes: 5 additions & 2 deletions 7 bigframes/operations/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,11 @@ def sim_join(
>>> df1 = bpd.DataFrame({'animal': ['monkey', 'spider']})
>>> df2 = bpd.DataFrame({'animal': ['scorpion', 'baboon']})

>>> df1.ai.sim_join(df2, left_on='animal', right_on='animal', model=model, top_k=1)
animal animal_1
>>> res = df1.ai.sim_join(df2, left_on='animal', right_on='animal', model=model, top_k=1)
>>> print("---"); print(res) # doctest: +ELLIPSIS
---
...
animal animal_1
0 monkey baboon
1 spider scorpion
<BLANKLINE>
Expand Down
6 changes: 4 additions & 2 deletions 6 bigframes/session/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,11 @@ def read_gbq_query(
... WHERE year = 2016
... GROUP BY pitcherFirstName, pitcherLastName
... ''', index_col="rowindex")
>>> df.head(2)
>>> print("START_OF_OUTPUT"); df.head(2) # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE
START_OF_OUTPUT
...
pitcherFirstName pitcherLastName averagePitchSpeed
rowindex
...
1 Albertin Chapman 96.514113
2 Zachary Britton 94.591039
<BLANKLINE>
Expand Down
6 changes: 4 additions & 2 deletions 6 third_party/bigframes_vendored/pandas/io/gbq.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ def read_gbq(
... WHERE year = 2016
... GROUP BY pitcherFirstName, pitcherLastName
... ''', index_col="rowindex")
>>> df.head(2)
>>> print("START_OF_OUTPUT"); df.head(2) # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE
START_OF_OUTPUT
...
pitcherFirstName pitcherLastName averagePitchSpeed
rowindex
...
1 Albertin Chapman 96.514113
2 Zachary Britton 94.591039
<BLANKLINE>
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.