Skip to content

BUG: lib.infer_dtype croaking on Categoricals #8974

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

Closed
jreback opened this issue Dec 3, 2014 · 0 comments · Fixed by #8975
Closed

BUG: lib.infer_dtype croaking on Categoricals #8974

jreback opened this issue Dec 3, 2014 · 0 comments · Fixed by #8975
Labels
Internals Related to non-user accessible pandas implementation
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Dec 3, 2014

In [13]: df = pd.DataFrame({'a':pd.Series(['A','B'], dtype='category')})
In [15]: lib.infer_dtype(df['a'])
TypeError: Cannot convert Categorical to numpy.ndarray
@jreback jreback added the Internals Related to non-user accessible pandas implementation label Dec 3, 2014
@jreback jreback added this to the 0.15.2 milestone Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant