Skip to content

GH-42018: [Python] Add NumPy StringDType -> Arrow support - #50951

Open
alippai wants to merge 4 commits into
apache:mainfrom
alippai:gh-42018-string-dtype
Open

GH-42018: [Python] Add NumPy StringDType -> Arrow support#50951
alippai wants to merge 4 commits into
apache:mainfrom
alippai:gh-42018-string-dtype

Conversation

@alippai

@alippai alippai commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

Implement #42018

What changes are included in this PR?

Conversion in numpy->arrow direction with multiple string types

Are these changes tested?

Two basic conversion tests added and one boundary that only string(), large_string(), string_view() is supported.

Are there any user-facing changes?

Yes, adds support to numpy.StringDType as source

I'm not sure what the AI policy is for apache/arrow, this PR was created using OpenAI Codex.

cc @jorisvandenbossche as he opened the original issue

This PR was created using GPT-5.6-Sol-xhigh, every line read & reviewed by me.

@alippai

alippai commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

@ngoldbaum can I ask you for review?

@alippai
alippai force-pushed the gh-42018-string-dtype branch 2 times, most recently from 02275b9 to b527de1 Compare August 22, 2026 03:52
@alippai
alippai force-pushed the gh-42018-string-dtype branch from b527de1 to 346e15f Compare August 22, 2026 04:16
@alippai alippai changed the title GH-42018: [Python] Add NumPy StringDType support GH-42018: [Python] Add NumPy StringDType -> Arrow support Aug 22, 2026
@alippai

alippai commented Aug 22, 2026

Copy link
Copy Markdown
Contributor Author

The commits are in complexity & speed order. They are supposed to be reviewable commit-by-commit.

@ngoldbaum

Copy link
Copy Markdown

I'll do a pass over this next week. Thank you for moving this forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants