Skip to content

DOC/TST: DataFrame constructor with a list of DataFrames #34991

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

Merged

Conversation

TomAugspurger
Copy link
Contributor

@TomAugspurger TomAugspurger commented Jun 25, 2020

Closes #32289 by removing the failing tests and asserting that we raise For NumPy>=1.19. See #32289 (comment) for details, but the tldr is that DataFrames are now treated identically to 2D ndarrays.

One thing I wasn't sure of: where to document this. IMO this is too minor of an edge case to warrant anything in the docstring / user guide.

@TomAugspurger TomAugspurger added this to the 1.1 milestone Jun 25, 2020
Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

Thanks @TomAugspurger generally lgtm. (tests could be parameterised)

Copy link
Member

@simonjayhawkins simonjayhawkins left a comment

Choose a reason for hiding this comment

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

Thanks @TomAugspurger lgtm.

@TomAugspurger
Copy link
Contributor Author

Merging this in a few hours since this is causing our wheel builds to fail.

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.

sure lgtm

@TomAugspurger TomAugspurger merged commit 867aea2 into pandas-dev:master Jun 30, 2020
@TomAugspurger TomAugspurger deleted the 32289-frame-constructor branch June 30, 2020 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI Failing - Linux py37_np_dev - test_constructor_list_frames
3 participants