Skip to content

Fix support for pandas StringDtype columns - #253

Merged
nicoddemus merged 1 commit into
ESSS:masterfrom
DSeaStar:fix-string-dtype-208
Aug 17, 2026
Merged

nicoddemus merged 1 commit into
ESSS:masterfrom
DSeaStar:fix-string-dtype-208

Conversation

@DSeaStar

Copy link
Copy Markdown
Contributor

Fix #208

dataframe_regression.check still rejected some pandas.StringDtype columns. The existing string exception only accepts object columns whose first value is a str, so a dtype="string" series that starts with NA (or is empty) failed the later dtype.kind check.

Treat pd.StringDtype the same way as CategoricalDtype, and add regression tests for the reported case and for an NA-first column.

@nicoddemus

Copy link
Copy Markdown
Member

Thanks!

@nicoddemus
nicoddemus merged commit 88ac652 into ESSS:master Aug 17, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in 2.8.0: StringDtype columns

2 participants