Skip to content

Conversation

@dsaxton
Copy link
Contributor

@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

meeseeksmachine pushed a commit to meeseeksmachine/pandas that referenced this pull request Sep 6, 2020
simonjayhawkins pushed a commit that referenced this pull request Sep 6, 2020
…dered set (#36162)

Co-authored-by: Daniel Saxton <2658661+dsaxton@users.noreply.github.com>
jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Sep 8, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
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