Skip to content

#1584 coerce record to df#1586

Open
postelrich wants to merge 3 commits intomasterfrom
1584_coerce_core_fix
Open

#1584 coerce record to df#1586
postelrich wants to merge 3 commits intomasterfrom
1584_coerce_core_fix

Conversation

@postelrich
Copy link
Contributor

No description provided.

@postelrich postelrich added the bug label Sep 10, 2016
@postelrich
Copy link
Contributor Author

postelrich commented May 21, 2017

delete

elif isscalar(dshape):
result = coerce_scalar(result, dshape, odo_kwargs=odo_kwargs)
elif istabular(dshape) and isrecord(dshape.measure):
elif istabular(dshape) or isrecord(dshape):
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is correct, a scalar record is not a dataframe, it is a single row of a dataframe.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Depends on how we want to treat the selection of a single row. If it's a scalar then isscalar can be extended to handle it.

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.

2 participants