Commit 05f75c6
authored
REF: Compute complete result_index upfront in groupby (#55738)
* REF: Compute correct result_index upfront in groupby
* Refinements
* Refinements
* Refinements
* Restore inferring index dtype
* Test fixups
* Refinements
* Refinements
* fixup
* fixup
* fixup
* Fix sorting and non-sorting
* Cleanup
* Call ensure_plantform_int last
* fixup
* fixup
* REF: Compute correct result_index upfront in groupby
* Add test
* Remove test
* Move unobserved to the end
* cleanup
* cleanup
* cleanup
* Merge fixup
* fixup
* fixup
* Fixup and test
* whatsnew
* type ignore
* Refactor & type annotations
* Better bikeshed1 parent 9b3c301 commit 05f75c6
File tree
14 files changed
+283
-421
lines changed- doc/source/whatsnew
- pandas
- core
- groupby
- indexes
- reshape
- tests
- groupby
- methods
- reshape
14 files changed
+283
-421
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
216 | 221 | | |
217 | 222 | | |
218 | 223 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | 414 | | |
416 | 415 | | |
417 | 416 | | |
| |||
437 | 436 | | |
438 | 437 | | |
439 | 438 | | |
440 | | - | |
| 439 | + | |
441 | 440 | | |
442 | 441 | | |
443 | 442 | | |
| |||
658 | 657 | | |
659 | 658 | | |
660 | 659 | | |
661 | | - | |
| 660 | + | |
662 | 661 | | |
663 | 662 | | |
664 | 663 | | |
| |||
691 | 690 | | |
692 | 691 | | |
693 | 692 | | |
694 | | - | |
| 693 | + | |
695 | 694 | | |
696 | 695 | | |
697 | 696 | | |
| |||
719 | 718 | | |
720 | 719 | | |
721 | 720 | | |
722 | | - | |
| 721 | + | |
723 | 722 | | |
724 | 723 | | |
725 | 724 | | |
| |||
789 | 788 | | |
790 | 789 | | |
791 | 790 | | |
792 | | - | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
793 | 801 | | |
794 | | - | |
| 802 | + | |
795 | 803 | | |
796 | 804 | | |
797 | 805 | | |
| |||
834 | 842 | | |
835 | 843 | | |
836 | 844 | | |
837 | | - | |
| 845 | + | |
838 | 846 | | |
839 | 847 | | |
840 | 848 | | |
| |||
1605 | 1613 | | |
1606 | 1614 | | |
1607 | 1615 | | |
1608 | | - | |
| 1616 | + | |
1609 | 1617 | | |
1610 | 1618 | | |
1611 | 1619 | | |
| |||
0 commit comments