Commit a501621
apacheGH-35025: [Python] Remove use of deprecated pandas.Categorical fastpath keyword (apache#35026)
### Rationale for this change
We are using `pd.Categorical(codes, categories, fastpath=True)`. This keyword is deprecated in pandas 2.1 and this should be changed to `pd.Categorical.from_codes(codes, categories)`.
### Are there any user-facing changes?
No
* Closes: apache#35025
Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>1 parent 17234d2 commit a501621
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
1688 | | - | |
1689 | | - | |
1690 | | - | |
1691 | | - | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
1692 | 1691 | | |
1693 | 1692 | | |
1694 | 1693 | | |
| |||
0 commit comments