Commit bbdeb70
feat(bigframes): Support unstable sort_values, sort_index (#16665)
Thank you for opening a Pull Request! Before submitting your PR, there
are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/google-cloud-python/issues)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
Fixes #<issue_number_goes_here> 🦕
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 63b88fb commit bbdeb70Copy full SHA for bbdeb70
11 files changed
+111-50Lines changed: 111 additions & 50 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/bigframes
- bigframes
- core
- indexes
- rewrite
- third_party/bigframes_vendored
- pandas/core
- indexes
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/bigframes/bigframes/core/array_value.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/array_value.py+8-2Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
212 | 212 | |
213 | 213 | |
214 | 214 | |
215 | | - |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
216 | 219 | |
217 | 220 | |
218 | 221 | |
219 | | - |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
220 | 226 | |
221 | 227 | |
222 | 228 | |
|
Collapse file
packages/bigframes/bigframes/core/blocks.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/blocks.py+14-17Lines changed: 14 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
395 | 395 | |
396 | 396 | |
397 | 397 | |
| 398 | + |
398 | 399 | |
399 | 400 | |
400 | | - |
| 401 | + |
401 | 402 | |
402 | 403 | |
403 | 404 | |
| ||
2412 | 2413 | |
2413 | 2414 | |
2414 | 2415 | |
2415 | | - |
2416 | | - |
| 2416 | + |
| 2417 | + |
2417 | 2418 | |
2418 | 2419 | |
2419 | 2420 | |
2420 | | - |
2421 | | - |
| 2421 | + |
| 2422 | + |
2422 | 2423 | |
2423 | 2424 | |
2424 | 2425 | |
| ||
2471 | 2472 | |
2472 | 2473 | |
2473 | 2474 | |
2474 | | - |
2475 | | - |
| 2475 | + |
| 2476 | + |
2476 | 2477 | |
2477 | 2478 | |
2478 | 2479 | |
2479 | | - |
2480 | | - |
2481 | | - |
2482 | | - |
| 2480 | + |
| 2481 | + |
2483 | 2482 | |
2484 | 2483 | |
2485 | 2484 | |
| ||
2506 | 2505 | |
2507 | 2506 | |
2508 | 2507 | |
2509 | | - |
2510 | | - |
2511 | | - |
2512 | | - |
| 2508 | + |
| 2509 | + |
2513 | 2510 | |
2514 | | - |
2515 | | - |
| 2511 | + |
| 2512 | + |
2516 | 2513 | |
2517 | 2514 | |
2518 | 2515 | |
|
Collapse file
packages/bigframes/bigframes/core/indexes/base.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/indexes/base.py+11-8Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
255 | 255 | |
256 | 256 | |
257 | 257 | |
258 | | - |
259 | | - |
260 | | - |
261 | | - |
262 | | - |
263 | | - |
264 | 258 | |
265 | 259 | |
266 | 260 | |
| ||
436 | 430 | |
437 | 431 | |
438 | 432 | |
439 | | - |
| 433 | + |
| 434 | + |
440 | 435 | |
441 | 436 | |
442 | 437 | |
| ||
448 | 443 | |
449 | 444 | |
450 | 445 | |
451 | | - |
| 446 | + |
| 447 | + |
452 | 448 | |
453 | 449 | |
454 | 450 | |
| ||
840 | 836 | |
841 | 837 | |
842 | 838 | |
| 839 | + |
| 840 | + |
| 841 | + |
| 842 | + |
| 843 | + |
| 844 | + |
| 845 | + |
843 | 846 | |
844 | 847 | |
845 | 848 | |
|
Collapse file
packages/bigframes/bigframes/core/nodes.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/nodes.py+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
991 | 991 | |
992 | 992 | |
993 | 993 | |
994 | | - |
| 994 | + |
| 995 | + |
995 | 996 | |
996 | 997 | |
997 | 998 | |
|
Collapse file
packages/bigframes/bigframes/core/rewrite/order.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/core/rewrite/order.py+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
| 75 | + |
75 | 76 | |
76 | 77 | |
77 | 78 | |
| ||
106 | 107 | |
107 | 108 | |
108 | 109 | |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
109 | 114 | |
110 | 115 | |
111 | 116 | |
|
Collapse file
packages/bigframes/bigframes/dataframe.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/dataframe.py+16-9Lines changed: 16 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2418 | 2418 | |
2419 | 2419 | |
2420 | 2420 | |
| 2421 | + |
2421 | 2422 | |
2422 | 2423 | |
2423 | 2424 | |
| ||
2427 | 2428 | |
2428 | 2429 | |
2429 | 2430 | |
| 2431 | + |
2430 | 2432 | |
2431 | 2433 | |
2432 | 2434 | |
| ||
2436 | 2438 | |
2437 | 2439 | |
2438 | 2440 | |
| 2441 | + |
2439 | 2442 | |
2440 | 2443 | |
2441 | 2444 | |
| ||
2449 | 2452 | |
2450 | 2453 | |
2451 | 2454 | |
2452 | | - |
| 2455 | + |
| 2456 | + |
| 2457 | + |
| 2458 | + |
2453 | 2459 | |
2454 | 2460 | |
2455 | 2461 | |
| ||
2472 | 2478 | |
2473 | 2479 | |
2474 | 2480 | |
2475 | | - |
| 2481 | + |
2476 | 2482 | |
2477 | 2483 | |
2478 | 2484 | |
| ||
2483 | 2489 | |
2484 | 2490 | |
2485 | 2491 | |
2486 | | - |
| 2492 | + |
2487 | 2493 | |
2488 | 2494 | |
2489 | 2495 | |
| ||
2493 | 2499 | |
2494 | 2500 | |
2495 | 2501 | |
2496 | | - |
| 2502 | + |
2497 | 2503 | |
2498 | 2504 | |
2499 | 2505 | |
| ||
2525 | 2531 | |
2526 | 2532 | |
2527 | 2533 | |
2528 | | - |
| 2534 | + |
| 2535 | + |
2529 | 2536 | |
2530 | 2537 | |
2531 | 2538 | |
| ||
2768 | 2775 | |
2769 | 2776 | |
2770 | 2777 | |
2771 | | - |
2772 | | - |
| 2778 | + |
| 2779 | + |
| 2780 | + |
| 2781 | + |
2773 | 2782 | |
2774 | | - |
2775 | | - |
2776 | 2783 | |
2777 | 2784 | |
2778 | 2785 | |
|
Collapse file
packages/bigframes/bigframes/series.py
Copy file name to clipboardExpand all lines: packages/bigframes/bigframes/series.py+28-7Lines changed: 28 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1779 | 1779 | |
1780 | 1780 | |
1781 | 1781 | |
1782 | | - |
| 1782 | + |
1783 | 1783 | |
1784 | 1784 | |
1785 | 1785 | |
| ||
1790 | 1790 | |
1791 | 1791 | |
1792 | 1792 | |
1793 | | - |
| 1793 | + |
1794 | 1794 | |
1795 | 1795 | |
1796 | 1796 | |
| ||
1800 | 1800 | |
1801 | 1801 | |
1802 | 1802 | |
1803 | | - |
| 1803 | + |
1804 | 1804 | |
1805 | 1805 | |
1806 | 1806 | |
1807 | 1807 | |
1808 | 1808 | |
1809 | 1809 | |
| 1810 | + |
1810 | 1811 | |
1811 | 1812 | |
1812 | 1813 | |
1813 | 1814 | |
1814 | 1815 | |
1815 | 1816 | |
| 1817 | + |
1816 | 1818 | |
1817 | 1819 | |
1818 | 1820 | |
| ||
1822 | 1824 | |
1823 | 1825 | |
1824 | 1826 | |
1825 | | - |
| 1827 | + |
| 1828 | + |
| 1829 | + |
| 1830 | + |
| 1831 | + |
| 1832 | + |
| 1833 | + |
1826 | 1834 | |
1827 | 1835 | |
1828 | 1836 | |
1829 | 1837 | |
1830 | | - |
| 1838 | + |
| 1839 | + |
| 1840 | + |
| 1841 | + |
| 1842 | + |
| 1843 | + |
| 1844 | + |
1831 | 1845 | |
1832 | 1846 | |
1833 | 1847 | |
1834 | 1848 | |
1835 | | - |
| 1849 | + |
| 1850 | + |
| 1851 | + |
| 1852 | + |
| 1853 | + |
| 1854 | + |
| 1855 | + |
1836 | 1856 | |
1837 | 1857 | |
1838 | 1858 | |
| ||
1847 | 1867 | |
1848 | 1868 | |
1849 | 1869 | |
1850 | | - |
| 1870 | + |
| 1871 | + |
1851 | 1872 | |
1852 | 1873 | |
1853 | 1874 | |
|
Collapse file
packages/bigframes/third_party/bigframes_vendored/constants.py
Copy file name to clipboardExpand all lines: packages/bigframes/third_party/bigframes_vendored/constants.py+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
55 | 55 | |
56 | 56 | |
57 | 57 | |
| 58 | + |
| 59 | + |
| 60 | + |
Collapse file
packages/bigframes/third_party/bigframes_vendored/pandas/core/frame.py
Copy file name to clipboardExpand all lines: packages/bigframes/third_party/bigframes_vendored/pandas/core/frame.py+7-2Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2253 | 2253 | |
2254 | 2254 | |
2255 | 2255 | |
2256 | | - |
| 2256 | + |
2257 | 2257 | |
2258 | 2258 | |
2259 | 2259 | |
| ||
2339 | 2339 | |
2340 | 2340 | |
2341 | 2341 | |
2342 | | - |
| 2342 | + |
2343 | 2343 | |
2344 | 2344 | |
2345 | 2345 | |
| ||
2363 | 2363 | |
2364 | 2364 | |
2365 | 2365 | |
| 2366 | + |
2366 | 2367 | |
2367 | 2368 | |
2368 | 2369 | |
| ||
2375 | 2376 | |
2376 | 2377 | |
2377 | 2378 | |
| 2379 | + |
| 2380 | + |
| 2381 | + |
| 2382 | + |
2378 | 2383 | |
2379 | 2384 | |
2380 | 2385 | |
|
0 commit comments