-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Pass copy argument to expanddim constructor in concat. #42823
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
Conversation
The one test failure in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also add a note in 1.3.2. you can add to bug fix section is fine.
ping when ready for merge |
6dfb8c3
to
ff6c88d
Compare
Co-authored-by: Simon Hawkins <[email protected]>
status here? |
Just about there. Can you look at the questions above in the review? |
answered! pls merge master as well and ping on green. |
thanks @jmcomie |
@meeseeksdev backport 1.3.x |
…nstructor in concat.
Something went wrong ... Please have a look at my logs. |
…in concat. (#42984) Co-authored-by: Justin McOmie <[email protected]>
thanks for helping with the PR. I'm happy to contribute |
Pass the provided copy argument through to the DataFrame constructor when constructing a DataFrame from a Series iterable, as is done with the other DataFrame construction call in the get_result method.
The new test in frame/methods/test_astype.py is as provided by the author of the issue with minor changes.
@TomAugspurger this updates your test
extension/decimal/test_decimal.py:test_astype_dispatches
to expect both frame and series astype calls to retain the context.prec value. The prior failure was caused by the copying of the DataFrame, and that copy no longer occurs. The underlying issue with copy and the dtype is unaddressed here.