Commit 3bb3603
authored
docs: remove import bigframes.pandas as bpd boilerplate from many samples (#2147)
* docs: remove import bigframes.pandas as bpd boilerplate from many samples
Also, fixes several constructors that didn't take a session for
compatibility with multi-session applications.
* fix docs
* fix unit tests
* skip sklearn test
* fix snapshot
* plumb through session for from_tuples and from_arrays
* add from_frame
* make sure polars session isnt skipped on Kokoro
* fix apply doctest
* make doctest conftest available everywhere
* add python version flexibility for to_dict
* disambiguate explicit names
* disambiguate explicit name none versus no name
* fix for column name comparison in pandas bin op
* avoid setting column labels in special case of Series(block)
* revert doctest changes
* revert doctest changes
* revert df docstrings
* add polars series unit tests
* restore a test
* Revert "restore a test"
This reverts commit 765b678b34a7976aef1017d2a1fdb34d7a4cfbe4.
* skip null
* skip unsupported tests
* revert more docs changes
* revert more docs
* revert more docs
* fix unit tests python 3.13
* add test to reproduce name error
* add tests for session scoped methods
* revert new session methods
* fix TestSession read_pandas for Series
* revert more unnecessary changes
* even more
* add unit_noextras to improve code coverage
* run system tests on latest fully supported
* system-3.12 not found
* cap polars version
* hide progress bar
* relax polars upper pin
* try to restore docs changes
* remove progress bar boilerplate
* remove standardd community imports boilerplate
* restore bpd to datetimelike
* remove bpd boilerplate
* avoid bpd.NA
* fix more docs
* dont skip tests if polars isnt installed
* fix more doctests
* skip remote functions in Series.apply
* feat: implement cos, sin, and log operations for polars compiler
* fix domain for log
* update snapshot
* fix domain for log
* update snapshot
* revert sqrt change
* revert sqrt change
* fix more samples
* sync polars compiler with main
* avoid np in output
* Update tests/unit/core/compile/sqlglot/expressions/snapshots/test_numeric_ops/test_sqrt/out.sql
* Update bigframes/core/compile/sqlglot/expressions/numeric_ops.py
* upgrade requirements in polars sample
* add todo for making doctest more robust1 parent 7718fb0 commit 3bb3603
File tree
62 files changed
+491
-1467
lines changed- packages/bigframes
- bigframes
- bigquery/_operations
- core/compile/polars
- ml
- operations
- session
- samples/polars
- tests
- system/small
- operations
- unit
- third_party/bigframes_vendored
- geopandas
- ibis/expr
- datatypes
- types
- pandas
- core
- arrays
- arrow
- computation
- groupby
- indexes
- reshape
- strings
- tools
- io
- parsers
- plotting
- sklearn
- cluster
- decomposition
- impute
- linear_model
- metrics
- model_selection
- preprocessing
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
62 files changed
+491
-1467
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
155 | 154 | | |
156 | 155 | | |
157 | 156 | | |
158 | | - | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
| |||
240 | 238 | | |
241 | 239 | | |
242 | 240 | | |
243 | | - | |
244 | 241 | | |
245 | 242 | | |
246 | 243 | | |
| |||
322 | 319 | | |
323 | 320 | | |
324 | 321 | | |
325 | | - | |
326 | 322 | | |
327 | 323 | | |
328 | 324 | | |
| |||
402 | 398 | | |
403 | 399 | | |
404 | 400 | | |
405 | | - | |
406 | 401 | | |
407 | 402 | | |
408 | 403 | | |
| |||
459 | 454 | | |
460 | 455 | | |
461 | 456 | | |
462 | | - | |
463 | 457 | | |
464 | 458 | | |
465 | 459 | | |
| |||
517 | 511 | | |
518 | 512 | | |
519 | 513 | | |
520 | | - | |
521 | 514 | | |
522 | 515 | | |
523 | 516 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
82 | | - | |
83 | 80 | | |
84 | 81 | | |
85 | 82 | | |
| |||
128 | 125 | | |
129 | 126 | | |
130 | 127 | | |
131 | | - | |
132 | | - | |
133 | 128 | | |
134 | 129 | | |
135 | 130 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
51 | | - | |
52 | 49 | | |
53 | 50 | | |
54 | | - | |
55 | 51 | | |
56 | 52 | | |
57 | 53 | | |
| |||
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
79 | 74 | | |
80 | 75 | | |
81 | | - | |
82 | 76 | | |
83 | 77 | | |
84 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
128 | | - | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| |||
195 | 193 | | |
196 | 194 | | |
197 | 195 | | |
198 | | - | |
199 | 196 | | |
200 | 197 | | |
201 | 198 | | |
| |||
250 | 247 | | |
251 | 248 | | |
252 | 249 | | |
253 | | - | |
254 | 250 | | |
255 | 251 | | |
256 | 252 | | |
| |||
312 | 308 | | |
313 | 309 | | |
314 | 310 | | |
315 | | - | |
316 | 311 | | |
317 | 312 | | |
318 | 313 | | |
| |||
407 | 402 | | |
408 | 403 | | |
409 | 404 | | |
410 | | - | |
411 | 405 | | |
412 | 406 | | |
413 | 407 | | |
| |||
489 | 483 | | |
490 | 484 | | |
491 | 485 | | |
492 | | - | |
493 | 486 | | |
494 | 487 | | |
495 | 488 | | |
| |||
583 | 576 | | |
584 | 577 | | |
585 | 578 | | |
586 | | - | |
587 | 579 | | |
588 | 580 | | |
589 | 581 | | |
| |||
650 | 642 | | |
651 | 643 | | |
652 | 644 | | |
653 | | - | |
654 | 645 | | |
655 | 646 | | |
656 | 647 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
| |||
141 | 138 | | |
142 | 139 | | |
143 | 140 | | |
144 | | - | |
145 | 141 | | |
146 | 142 | | |
147 | 143 | | |
| |||
204 | 200 | | |
205 | 201 | | |
206 | 202 | | |
207 | | - | |
208 | 203 | | |
209 | 204 | | |
210 | 205 | | |
| |||
272 | 267 | | |
273 | 268 | | |
274 | 269 | | |
275 | | - | |
276 | 270 | | |
277 | 271 | | |
278 | 272 | | |
| |||
303 | 297 | | |
304 | 298 | | |
305 | 299 | | |
306 | | - | |
307 | 300 | | |
308 | 301 | | |
309 | 302 | | |
| |||
355 | 348 | | |
356 | 349 | | |
357 | 350 | | |
358 | | - | |
359 | 351 | | |
360 | 352 | | |
361 | 353 | | |
| |||
392 | 384 | | |
393 | 385 | | |
394 | 386 | | |
395 | | - | |
396 | 387 | | |
397 | 388 | | |
398 | 389 | | |
| |||
439 | 430 | | |
440 | 431 | | |
441 | 432 | | |
442 | | - | |
443 | 433 | | |
444 | 434 | | |
445 | 435 | | |
| |||
473 | 463 | | |
474 | 464 | | |
475 | 465 | | |
476 | | - | |
477 | 466 | | |
478 | 467 | | |
479 | 468 | | |
| |||
512 | 501 | | |
513 | 502 | | |
514 | 503 | | |
515 | | - | |
516 | 504 | | |
517 | 505 | | |
518 | 506 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | 114 | | |
116 | 115 | | |
117 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments