Skip to content
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

BUG: Series with Categorical and dtype #12574

Closed
chris-b1 opened this issue Mar 9, 2016 · 1 comment
Closed

BUG: Series with Categorical and dtype #12574

chris-b1 opened this issue Mar 9, 2016 · 1 comment
Labels
Bug Categorical Categorical Data Type Reshaping Concat, Merge/Join, Stack/Unstack, Explode

Comments

@chris-b1
Copy link
Contributor

chris-b1 commented Mar 9, 2016

xref #12573 (comment)

In [37]: pd.Series(pd.Categorical([1,2,3]), dtype='category')
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-37-87a1a3228158> in <module>()
----> 1 pd.Series(pd.Categorical([1,2,3]), dtype='category')

ValueError: cannot specify a dtype with a Categorical
@jreback jreback added Bug Reshaping Concat, Merge/Join, Stack/Unstack, Explode Difficulty Novice Categorical Categorical Data Type labels Mar 9, 2016
@jreback jreback added this to the Next Major Release milestone Mar 9, 2016
@drewfustin
Copy link
Contributor

@jreback I'm new to contributing to OS, let alone pandas. I think this is the fix that you're referencing. Let me know if not and I'll fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Categorical Categorical Data Type Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants