Skip to content

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

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

Conversation

jorisvandenbossche
Copy link
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
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
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
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