Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-35025: [Python] Remove use of deprecated pandas.Categorical fastpa…
…th keyword (#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: #35025 Authored-by: Joris Van den Bossche <[email protected]> Signed-off-by: Joris Van den Bossche <[email protected]>
- Loading branch information