This repository was archived by the owner on May 7, 2026. It is now read-only.
Commit 3c21993
docs: Add code examples to configuration docstrings (#2352)
Added code examples to the docstrings of global configuration properties
to demonstrate how to set them using `bigframes.pandas.options`. This
covers BigQuery options, compute options, sampling options, experiment
options, and display options.
---
*PR created automatically by Jules for task
[15986639753712030034](https://jules.google.com/task/15986639753712030034)
started by @tswast*
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Tim Sweña (Swast) <swast@google.com>
Co-authored-by: tswast <247555+tswast@users.noreply.github.com>1 parent 5c91fb6 commit 3c21993Copy full SHA for 3c21993
5 files changed
+193-16Lines changed: 193 additions & 16 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- bigframes/_config
- third_party/bigframes_vendored/pandas/core
Expand file treeCollapse file tree
Open diff view settings
Collapse file
bigframes/_config/bigquery_options.py
Copy file name to clipboardExpand all lines: bigframes/_config/bigquery_options.py+56-1Lines changed: 56 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
127 | 127 | |
128 | 128 | |
129 | 129 | |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
130 | 135 | |
131 | 136 | |
132 | 137 | |
| ||
145 | 150 | |
146 | 151 | |
147 | 152 | |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
148 | 160 | |
149 | 161 | |
150 | 162 | |
| ||
163 | 175 | |
164 | 176 | |
165 | 177 | |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
166 | 183 | |
167 | 184 | |
168 | 185 | |
| ||
179 | 196 | |
180 | 197 | |
181 | 198 | |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + |
182 | 204 | |
183 | 205 | |
184 | 206 | |
| ||
206 | 228 | |
207 | 229 | |
208 | 230 | |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
209 | 236 | |
210 | 237 | |
211 | 238 | |
| ||
228 | 255 | |
229 | 256 | |
230 | 257 | |
| 258 | + |
| 259 | + |
| 260 | + |
| 261 | + |
| 262 | + |
231 | 263 | |
232 | 264 | |
233 | 265 | |
| ||
300 | 332 | |
301 | 333 | |
302 | 334 | |
| 335 | + |
| 336 | + |
| 337 | + |
| 338 | + |
| 339 | + |
| 340 | + |
303 | 341 | |
304 | 342 | |
305 | 343 | |
| ||
339 | 377 | |
340 | 378 | |
341 | 379 | |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
| 384 | + |
342 | 385 | |
343 | 386 | |
344 | 387 | |
| ||
356 | 399 | |
357 | 400 | |
358 | 401 | |
| 402 | + |
| 403 | + |
| 404 | + |
| 405 | + |
| 406 | + |
359 | 407 | |
360 | 408 | |
361 | 409 | |
| ||
432 | 480 | |
433 | 481 | |
434 | 482 | |
435 | | - |
| 483 | + |
| 484 | + |
| 485 | + |
| 486 | + |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
436 | 491 | |
437 | 492 | |
438 | 493 | |
|
Collapse file
bigframes/_config/compute_options.py
Copy file name to clipboardExpand all lines: bigframes/_config/compute_options.py+36-8Lines changed: 36 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
41 | | - |
| 40 | + |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | | - |
48 | | - |
| 47 | + |
| 48 | + |
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
54 | | - |
| 53 | + |
| 54 | + |
55 | 55 | |
56 | 56 | |
57 | 57 | |
| ||
63 | 63 | |
64 | 64 | |
65 | 65 | |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
66 | 71 | |
67 | 72 | |
68 | 73 | |
| ||
73 | 78 | |
74 | 79 | |
75 | 80 | |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
76 | 86 | |
77 | 87 | |
78 | 88 | |
| ||
85 | 95 | |
86 | 96 | |
87 | 97 | |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
88 | 102 | |
89 | 103 | |
90 | 104 | |
| ||
97 | 111 | |
98 | 112 | |
99 | 113 | |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
100 | 118 | |
101 | 119 | |
102 | 120 | |
| ||
121 | 139 | |
122 | 140 | |
123 | 141 | |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
124 | 147 | |
125 | 148 | |
126 | 149 | |
| ||
136 | 159 | |
137 | 160 | |
138 | 161 | |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
139 | 167 | |
140 | 168 | |
141 | 169 | |
|
Collapse file
bigframes/_config/experiment_options.py
Copy file name to clipboardExpand all lines: bigframes/_config/experiment_options.py+14Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
34 | 41 | |
35 | 42 | |
36 | 43 | |
| ||
44 | 51 | |
45 | 52 | |
46 | 53 | |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
47 | 61 | |
48 | 62 | |
49 | 63 | |
|
Collapse file
bigframes/_config/sampling_options.py
Copy file name to clipboardExpand all lines: bigframes/_config/sampling_options.py+20Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
34 | 39 | |
35 | 40 | |
36 | 41 | |
| ||
40 | 45 | |
41 | 46 | |
42 | 47 | |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
43 | 53 | |
44 | 54 | |
45 | 55 | |
| ||
50 | 60 | |
51 | 61 | |
52 | 62 | |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
53 | 68 | |
54 | 69 | |
55 | 70 | |
| ||
58 | 73 | |
59 | 74 | |
60 | 75 | |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
61 | 81 | |
62 | 82 | |
63 | 83 | |
|
0 commit comments