Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Update use of deprecated pandas.Categorical fastpath keyword #35025

Closed
jorisvandenbossche opened this issue Apr 11, 2023 · 0 comments · Fixed by #35026
Closed

[Python] Update use of deprecated pandas.Categorical fastpath keyword #35025

jorisvandenbossche opened this issue Apr 11, 2023 · 0 comments · Fixed by #35026
Assignees
Milestone

Comments

@jorisvandenbossche
Copy link
Member

We are using pd.Categorical(codes, categories, fastpath=True). This keyword is deprecated and this should be changed to pd.Categorical.from_codes(codes, categories).

@jorisvandenbossche jorisvandenbossche added this to the 12.0.0 milestone Apr 11, 2023
@jorisvandenbossche jorisvandenbossche self-assigned this Apr 11, 2023
jorisvandenbossche added a commit to jorisvandenbossche/arrow that referenced this issue Apr 11, 2023
jorisvandenbossche added a commit that referenced this issue Apr 11, 2023
…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 <jorisvandenbossche@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
mikelui pushed a commit to mikelui/arrow that referenced this issue Apr 14, 2023
…fastpath keyword (apache#35026)

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)`.

No
* Closes: apache#35025

Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
liujiacheng777 pushed a commit to LoongArch-Python/arrow that referenced this issue May 11, 2023
…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>
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this issue May 15, 2023
…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>
rtpsw pushed a commit to rtpsw/arrow that referenced this issue May 16, 2023
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant