Skip to content

Conversation

dsaxton
Copy link
Member

@dsaxton dsaxton commented Sep 1, 2020

This may or may not be a regression, since before the change that caused the error to be raised the output was still wrong (same bug that motivated the initial patch):

In [2]: keys = {'a': 1, 'b': 2}.keys()

In [3]: pd.Series(keys)
Out[3]: 
0    (a, b)
1    (a, b)
dtype: object

@dsaxton dsaxton added Bug Constructors Series/DataFrame/Index/pd.array Constructors labels Sep 1, 2020
@dsaxton dsaxton added this to the 1.1.2 milestone Sep 1, 2020
@simonjayhawkins
Copy link
Member

@dsaxton merge conflicts (we should get a Github Action to notify us when this occurs)

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

can merge on green

@dsaxton dsaxton merged commit c688a0f into pandas-dev:master Sep 5, 2020
@dsaxton dsaxton deleted the series-construction-from-ordered-set branch September 5, 2020 23:13
@simonjayhawkins
Copy link
Member

@meeseeksdev backport 1.1.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Constructors Series/DataFrame/Index/pd.array Constructors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Set type check is too strict when creating Series from dict keys
4 participants