Skip to content

BUG: fix check_array on pandas Series with custom dtype (eg categorical)#12706

Merged
jnothman merged 1 commit intoscikit-learn:masterfrom
jorisvandenbossche:bug-check-series-pandas-dtypes
Dec 3, 2018
Merged

BUG: fix check_array on pandas Series with custom dtype (eg categorical)#12706
jnothman merged 1 commit intoscikit-learn:masterfrom
jorisvandenbossche:bug-check-series-pandas-dtypes

Conversation

@jorisvandenbossche
Copy link
Copy Markdown
Member

Closes #12699

Related to #12625

@jorisvandenbossche jorisvandenbossche added this to the 0.20.2 milestone Dec 1, 2018
....................

- |Fix| Calling :func:`utils.check_array` on `pandas.Series` with categorical
data, which raised an error in 0.20.0, now returns the expected output again.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

categorical data -> something like pandas custom dtype? though I'm not able to come up with another application scenario.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I seem to have missed this comment.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not important :)

@jnothman jnothman merged commit 4f5dd77 into scikit-learn:master Dec 3, 2018
@jorisvandenbossche jorisvandenbossche deleted the bug-check-series-pandas-dtypes branch December 6, 2018 13:34
amueller pushed a commit to amueller/scikit-learn that referenced this pull request Dec 14, 2018
amueller pushed a commit to amueller/scikit-learn that referenced this pull request Dec 17, 2018
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants