Commit d093fae
ENH: pd.concat with keys and ignore_index=True should raise (#59398)
* Add enhancement to v3.0.0
* Raise error when combination of given values don't make sense
* Add test
* Update doc/source/whatsnew/v3.0.0.rst
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Update pandas/core/reshape/concat.py
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Update pandas/tests/reshape/concat/test_concat.py
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Update pandas/tests/reshape/concat/test_concat.py
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
* Fix test
---------
Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>1 parent ecc451d commit d093fae
File tree
3 files changed
+17
-0
lines changed- doc/source/whatsnew
- pandas
- core/reshape
- tests/reshape/concat
3 files changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
382 | 387 | | |
383 | 388 | | |
384 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
0 commit comments