Skip to content

Commit 4ee03d3

Browse files
committed
fix doc test
1 parent b88e63e commit 4ee03d3

File tree

1 file changed

+4
-4
lines changed
  • bigframes/bigquery/_operations

1 file changed

+4
-4
lines changed

bigframes/bigquery/_operations/ai.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ def generate(
5555
>>> bpd.options.display.progress_bar = None
5656
>>> country = bpd.Series(["Japan", "Canada"])
5757
>>> bbq.ai.generate(("What's the capital city of ", country, " one word only"))
58-
0 {'result': 'Tokyo\n', 'full_response': '{"cand...
59-
1 {'result': 'Ottawa\n', 'full_response': '{"can...
58+
0 {'result': 'Tokyo\\n', 'full_response': '{"cand...
59+
1 {'result': 'Ottawa\\n', 'full_response': '{"can...
6060
dtype: struct<result: string, full_response: extension<dbjson<JSONArrowType>>, status: string>[pyarrow]
6161
6262
>>> bbq.ai.generate(("What's the capital city of ", country, " one word only")).struct.field("result")
63-
0 Tokyo\n
64-
1 Ottawa\n
63+
0 Tokyo\\n
64+
1 Ottawa\\n
6565
Name: result, dtype: string
6666
6767
Args:

0 commit comments

Comments
 (0)