Commit 7dd451d
BUG: iloc misbehavior with pd.Series: sometimes returns pd.Categorical, fixes #14580
closes #14580
Author: Nathalie Rud <[email protected]>
Closes #14642 from nathalier/nath-working and squashes the following commits:
f6b1790 [Nathalie Rud] DOC: add whatsnew entry for bug GH #14580 fix
bb9b601 [Nathalie Rud] TST: add test to cover bug GH #14580
9a69ca5 [Nathalie Rud] CLN: refactor _getitem_axis() of _iLocIndexer class
5b5ead4 [Nathalie Rud] BUG: fix iloc with pd.Series on pd.Categorical1 parent caab85b commit 7dd451d
File tree
3 files changed
+54
-17
lines changed- doc/source/whatsnew
- pandas
- core
- tests
3 files changed
+54
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1596 | 1596 | | |
1597 | 1597 | | |
1598 | 1598 | | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1599 | 1620 | | |
1600 | 1621 | | |
1601 | 1622 | | |
| |||
1606 | 1627 | | |
1607 | 1628 | | |
1608 | 1629 | | |
1609 | | - | |
1610 | | - | |
1611 | | - | |
1612 | | - | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | | - | |
1617 | | - | |
1618 | | - | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
1619 | 1633 | | |
1620 | | - | |
1621 | | - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
1622 | 1637 | | |
1623 | | - | |
1624 | | - | |
1625 | | - | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
1626 | 1641 | | |
1627 | | - | |
1628 | | - | |
| 1642 | + | |
| 1643 | + | |
1629 | 1644 | | |
1630 | 1645 | | |
1631 | 1646 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
57 | 78 | | |
58 | 79 | | |
59 | 80 | | |
| |||
0 commit comments